37 references to FunctionPointerCallingConvention
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxNormalizer.cs (2)
747if (token.IsKind(SyntaxKind.AsteriskToken) && next.Parent.IsKind(SyntaxKind.FunctionPointerCallingConvention)) 778if (token.Parent.IsKind(SyntaxKind.FunctionPointerCallingConvention) && next.Parent.IsKind(SyntaxKind.FunctionPointerUnmanagedCallingConventionList) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
373if (previousKind == SyntaxKind.AsteriskToken && currentParentKind == SyntaxKind.FunctionPointerCallingConvention) 404if (previousParentKind == SyntaxKind.FunctionPointerCallingConvention && currentParentKind == SyntaxKind.FunctionPointerUnmanagedCallingConventionList && currentKind == SyntaxKind.OpenBracketToken)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (31)
Parsing\FunctionPointerTests.cs (30)
85N(SyntaxKind.FunctionPointerCallingConvention); 157N(SyntaxKind.FunctionPointerCallingConvention); 207N(SyntaxKind.FunctionPointerCallingConvention); 250N(SyntaxKind.FunctionPointerCallingConvention); 302N(SyntaxKind.FunctionPointerCallingConvention); 353M(SyntaxKind.FunctionPointerCallingConvention); 396N(SyntaxKind.FunctionPointerCallingConvention); 444N(SyntaxKind.FunctionPointerCallingConvention); 542N(SyntaxKind.FunctionPointerCallingConvention); 667N(SyntaxKind.FunctionPointerCallingConvention); 717N(SyntaxKind.FunctionPointerCallingConvention); 1069N(SyntaxKind.FunctionPointerCallingConvention); 1123N(SyntaxKind.FunctionPointerCallingConvention); 1174N(SyntaxKind.FunctionPointerCallingConvention); 1446N(SyntaxKind.FunctionPointerCallingConvention); 1504N(SyntaxKind.FunctionPointerCallingConvention); 1568N(SyntaxKind.FunctionPointerCallingConvention); 1786N(SyntaxKind.FunctionPointerCallingConvention); 1840N(SyntaxKind.FunctionPointerCallingConvention); 1898N(SyntaxKind.FunctionPointerCallingConvention); 1982N(SyntaxKind.FunctionPointerCallingConvention); 2037N(SyntaxKind.FunctionPointerCallingConvention); 2113N(SyntaxKind.FunctionPointerCallingConvention); 2226N(SyntaxKind.FunctionPointerCallingConvention); 3187N(SyntaxKind.FunctionPointerCallingConvention); 3280N(SyntaxKind.FunctionPointerCallingConvention); 3712N(SyntaxKind.FunctionPointerCallingConvention); 3769N(SyntaxKind.FunctionPointerCallingConvention); 3829N(SyntaxKind.FunctionPointerCallingConvention); 3910N(SyntaxKind.FunctionPointerCallingConvention);
Parsing\LambdaReturnTypeParsingTests.cs (1)
602N(SyntaxKind.FunctionPointerCallingConvention);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
373if (previousKind == SyntaxKind.AsteriskToken && currentParentKind == SyntaxKind.FunctionPointerCallingConvention) 404if (previousParentKind == SyntaxKind.FunctionPointerCallingConvention && currentParentKind == SyntaxKind.FunctionPointerUnmanagedCallingConventionList && currentKind == SyntaxKind.OpenBracketToken)