9 references to DelegateKeyword
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Symbols.cs (2)
457
MessageID.IDS_FeatureFunctionPointers.CheckFeatureAvailability(diagnostics, functionPointerTypeSyntax.
DelegateKeyword
);
461
var @delegate = functionPointerTypeSyntax.
DelegateKeyword
;
Syntax.xml.Main.Generated.cs (1)
1534
=> node.Update(VisitToken(node.
DelegateKeyword
), VisitToken(node.AsteriskToken), (FunctionPointerCallingConventionSyntax?)Visit(node.CallingConvention), (FunctionPointerParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"));
Syntax.xml.Syntax.Generated.cs (4)
565
if (delegateKeyword != this.
DelegateKeyword
|| asteriskToken != this.AsteriskToken || callingConvention != this.CallingConvention || parameterList != 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);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
11212
Assert.Equal(SyntaxKind.DelegateKeyword, node.
DelegateKeyword
.Kind());
11216
var newNode = node.WithDelegateKeyword(node.
DelegateKeyword
).WithAsteriskToken(node.AsteriskToken).WithCallingConvention(node.CallingConvention).WithParameterList(node.ParameterList);