1 instantiation of FunctionPointerTypeSyntax
Microsoft.CodeAnalysis.CSharp (1)
_generated\1\Syntax.xml.Internal.Generated.cs (1)
883
internal override SyntaxNode CreateRed(SyntaxNode? parent, int position) => new CSharp.Syntax.
FunctionPointerTypeSyntax
(this, parent, position);
27 references to FunctionPointerTypeSyntax
Microsoft.CodeAnalysis.CSharp (21)
_generated\0\Syntax.xml.Main.Generated.cs (7)
46
public virtual TResult? VisitFunctionPointerType(
FunctionPointerTypeSyntax
node) => this.DefaultVisit(node);
794
public virtual void VisitFunctionPointerType(
FunctionPointerTypeSyntax
node) => this.DefaultVisit(node);
1541
public override SyntaxNode? VisitFunctionPointerType(
FunctionPointerTypeSyntax
node)
2395
public static
FunctionPointerTypeSyntax
FunctionPointerType(SyntaxToken delegateKeyword, SyntaxToken asteriskToken, FunctionPointerCallingConventionSyntax? callingConvention, FunctionPointerParameterListSyntax parameterList)
2400
return (
FunctionPointerTypeSyntax
)Syntax.InternalSyntax.SyntaxFactory.FunctionPointerType((Syntax.InternalSyntax.SyntaxToken)delegateKeyword.Node!, (Syntax.InternalSyntax.SyntaxToken)asteriskToken.Node!, callingConvention == null ? null : (Syntax.InternalSyntax.FunctionPointerCallingConventionSyntax)callingConvention.Green, (Syntax.InternalSyntax.FunctionPointerParameterListSyntax)parameterList.Green).CreateRed();
2404
public static
FunctionPointerTypeSyntax
FunctionPointerType(FunctionPointerCallingConventionSyntax? callingConvention, FunctionPointerParameterListSyntax parameterList)
2408
public static
FunctionPointerTypeSyntax
FunctionPointerType()
_generated\2\Syntax.xml.Syntax.Generated.cs (7)
563
public
FunctionPointerTypeSyntax
Update(SyntaxToken delegateKeyword, SyntaxToken asteriskToken, FunctionPointerCallingConventionSyntax? callingConvention, FunctionPointerParameterListSyntax parameterList)
567
var
newNode = SyntaxFactory.FunctionPointerType(delegateKeyword, asteriskToken, callingConvention, parameterList);
575
public
FunctionPointerTypeSyntax
WithDelegateKeyword(SyntaxToken delegateKeyword) => Update(delegateKeyword, this.AsteriskToken, this.CallingConvention, this.ParameterList);
576
public
FunctionPointerTypeSyntax
WithAsteriskToken(SyntaxToken asteriskToken) => Update(this.DelegateKeyword, asteriskToken, this.CallingConvention, this.ParameterList);
577
public
FunctionPointerTypeSyntax
WithCallingConvention(FunctionPointerCallingConventionSyntax? callingConvention) => Update(this.DelegateKeyword, this.AsteriskToken, callingConvention, this.ParameterList);
578
public
FunctionPointerTypeSyntax
WithParameterList(FunctionPointerParameterListSyntax parameterList) => Update(this.DelegateKeyword, this.AsteriskToken, this.CallingConvention, parameterList);
580
public
FunctionPointerTypeSyntax
AddParameterListParameters(params FunctionPointerParameterSyntax[] items) => WithParameterList(this.ParameterList.WithParameters(this.ParameterList.Parameters.AddRange(items)));
Binder\Binder_Symbols.cs (2)
460
var
functionPointerTypeSyntax = (
FunctionPointerTypeSyntax
)syntax;
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
23
public static FunctionPointerMethodSymbol CreateFromSource(
FunctionPointerTypeSyntax
syntax, Binder typeBinder, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
522
FunctionPointerTypeSyntax
syntax,
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
19
public static FunctionPointerTypeSymbol CreateFromSource(
FunctionPointerTypeSyntax
syntax, Binder typeBinder, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics)
Syntax\SyntaxExtensions.cs (2)
439
var
functionPointerTypeSyntax = (
FunctionPointerTypeSyntax
)type;
Microsoft.CodeAnalysis.CSharp.Features (1)
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
489
else if (type is
FunctionPointerTypeSyntax
functionPointerType)
Microsoft.Interop.ComInterfaceGenerator (5)
ComInterfaceGenerator.cs (2)
482
FunctionPointerTypeSyntax
functionPointerType = VirtualMethodPointerStubGenerator.GenerateUnmanagedFunctionPointerTypeForMethod(
494
FunctionPointerTypeSyntax
functionPointerType = VirtualMethodPointerStubGenerator.GenerateUnmanagedFunctionPointerTypeForMethod(
VirtualMethodPointerStubGenerator.cs (2)
234
public static
FunctionPointerTypeSyntax
GenerateUnmanagedFunctionPointerTypeForMethod(
253
FunctionPointerTypeSyntax
functionPointerType = FunctionPointerType(
VtableIndexStubGenerator.cs (1)
175
FunctionPointerTypeSyntax
functionPointerType = VirtualMethodPointerStubGenerator.GenerateUnmanagedFunctionPointerTypeForMethod(method, VtableIndexStubGeneratorHelpers.GetGeneratorResolver);