QsCompilerDiagnostic.New Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 1 })]
public static Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic New (Microsoft.Quantum.QsCompiler.Diagnostics.DiagnosticItem item, System.Collections.Generic.IEnumerable<string> args, Microsoft.Quantum.QsCompiler.DataTypes.Range range);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 1 })>]
static member New : Microsoft.Quantum.QsCompiler.Diagnostics.DiagnosticItem * seq<string> -> Microsoft.Quantum.QsCompiler.DataTypes.Range -> Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic
Public Shared Function New (item As DiagnosticItem, args As IEnumerable(Of String), range As Range) As QsCompilerDiagnostic
Parameters
- item
- DiagnosticItem
- args
- IEnumerable<String>
- range
- Range
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute