SyntaxExtensions.New.Static 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[] { 1, 2, 7 })]
public static Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecialization QsSpecialization.New.Static (Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind kind, Microsoft.Quantum.QsCompiler.SyntaxTree.Source source, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> location, Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName parent, System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute> attributes, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> typeArgs, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedSignature signature, Microsoft.Quantum.QsCompiler.SyntaxTree.SpecializationImplementation implementation, System.Collections.Immutable.ImmutableArray<string> documentation, Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments comments);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 2, 7 })>]
Microsoft.Quantum.QsCompiler.SyntaxExtensions.QsSpecialization.New.Static : Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind -> Microsoft.Quantum.QsCompiler.SyntaxTree.Source * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation> -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName * System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute> * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> * Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedSignature * Microsoft.Quantum.QsCompiler.SyntaxTree.SpecializationImplementation * System.Collections.Immutable.ImmutableArray<string> * Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecialization
Public Shared Function QsSpecialization.New.Static (kind As QsSpecializationKind, source As Source, location As QsNullable(Of QsLocation), parent As QsQualifiedName, attributes As ImmutableArray(Of QsDeclarationAttribute), typeArgs As QsNullable(Of ImmutableArray(Of ResolvedType)), signature As ResolvedSignature, implementation As SpecializationImplementation, documentation As ImmutableArray(Of String), comments As QsComments) As QsSpecialization
Parameters
- kind
- QsSpecializationKind
- source
- Source
- location
- QsNullable<QsLocation>
- parent
- QsQualifiedName
- attributes
- ImmutableArray<QsDeclarationAttribute>
- typeArgs
- QsNullable<ImmutableArray<ResolvedType>>
- signature
- ResolvedSignature
- implementation
- SpecializationImplementation
- documentation
- ImmutableArray<String>
- comments
- QsComments
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute