QsCompilerDiagnostic.Error 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 Error (Microsoft.Quantum.QsCompiler.Diagnostics.ErrorCode code, System.Collections.Generic.IEnumerable<string> args, Microsoft.Quantum.QsCompiler.DataTypes.Range range);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 1 })>]
static member Error : Microsoft.Quantum.QsCompiler.Diagnostics.ErrorCode * seq<string> -> Microsoft.Quantum.QsCompiler.DataTypes.Range -> Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic
Public Shared Function Error (code As ErrorCode, args As IEnumerable(Of String), range As Range) As QsCompilerDiagnostic
Parameters
- code
- ErrorCode
- args
- IEnumerable<String>
- range
- Range
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute