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