Namespace.TryAddCallableSpecialization Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2, 4 })]
public Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[] TryAddCallableSpecialization (Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind kind, string source, Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation location, Tuple<string,Microsoft.Quantum.QsCompiler.DataTypes.Range> _arg4, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSpecializationGenerator generator, System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.AttributeAnnotation> attributes, System.Collections.Immutable.ImmutableArray<string> documentation);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2, 4 })>]
member this.TryAddCallableSpecialization : Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind -> string * Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation -> string * Microsoft.Quantum.QsCompiler.DataTypes.Range * Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSpecializationGenerator * System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.AttributeAnnotation> * System.Collections.Immutable.ImmutableArray<string> -> Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]
Public Function TryAddCallableSpecialization (kind As QsSpecializationKind, source As String, location As QsLocation, _arg4 As Tuple(Of String, Range), generator As QsSpecializationGenerator, attributes As ImmutableArray(Of AttributeAnnotation), documentation As ImmutableArray(Of String)) As QsCompilerDiagnostic()

Parameters

source
String
location
QsLocation
_arg4
Tuple<String,Range>
documentation
ImmutableArray<String>

Returns

QsCompilerDiagnostic[]
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to