QsCompilerDiagnostic.Error Method

Definition

[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
range
Range

Returns

QsCompilerDiagnostic
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to