8 references to CallingConvention
Microsoft.CodeAnalysis.CSharp (6)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
26
CallingConvention callingConvention = getCallingConvention(typeBinder.Compilation, syntax.
CallingConvention
, customModifiers, diagnostics);
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)
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);
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)
11214
Assert.Null(node.
CallingConvention
);
11216
var newNode = node.WithDelegateKeyword(node.DelegateKeyword).WithAsteriskToken(node.AsteriskToken).WithCallingConvention(node.
CallingConvention
).WithParameterList(node.ParameterList);