40 references to VolatileKeyword
Microsoft.CodeAnalysis.CSharp (11)
Parser\LanguageParser.cs (6)
1321case SyntaxKind.VolatileKeyword: 2339case SyntaxKind.VolatileKeyword: 8784case SyntaxKind.VolatileKeyword: 10284else if (k is SyntaxKind.ReadOnlyKeyword or SyntaxKind.VolatileKeyword) 10336case SyntaxKind.VolatileKeyword: 10421case SyntaxKind.VolatileKeyword:
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
905AddKeyword(SyntaxKind.VolatileKeyword);
Symbols\Source\ModifierUtils.cs (2)
304return SyntaxFacts.GetText(SyntaxKind.VolatileKeyword); 370case SyntaxKind.VolatileKeyword:
Syntax\SyntaxKindFacts.cs (2)
951return SyntaxKind.VolatileKeyword; 1599case SyntaxKind.VolatileKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
98public static readonly SyntaxToken VolatileKeyword = Token(SyntaxKind.VolatileKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
165SyntaxKind.VolatileKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
95case SyntaxKind.VolatileKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
142SyntaxKind.VolatileKeyword => DeclarationModifiers.Volatile,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
44SyntaxKind.VolatileKeyword, 58SyntaxKind.VolatileKeyword,
Microsoft.CodeAnalysis.CSharp.Features (8)
Completion\KeywordRecommenders\NewKeywordRecommender.cs (1)
30SyntaxKind.VolatileKeyword,
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
59SyntaxKind.VolatileKeyword,
Completion\KeywordRecommenders\StaticKeywordRecommender.cs (3)
37SyntaxKind.VolatileKeyword, 53SyntaxKind.VolatileKeyword, 66SyntaxKind.VolatileKeyword,
Completion\KeywordRecommenders\UnsafeKeywordRecommender.cs (2)
41SyntaxKind.VolatileKeyword, 53SyntaxKind.VolatileKeyword,
Completion\KeywordRecommenders\VolatileKeywordRecommender.cs (1)
26: base(SyntaxKind.VolatileKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\DeclarationParsingTests.cs (2)
3747TestClassFieldModifier(SyntaxKind.VolatileKeyword); 3802TestClassEventFieldModifier(SyntaxKind.VolatileKeyword);
Parsing\ScriptParsingTests.cs (2)
967NewModifier_WithOtherModifier("volatile", SyntaxKind.VolatileKeyword); 2503N(SyntaxKind.VolatileKeyword);
Parsing\StatementParsingTests.cs (1)
748Assert.Equal(SyntaxKind.VolatileKeyword, ds.Modifiers[0].Kind());
Parsing\TopLevelStatementsParsingTests.cs (1)
1933N(SyntaxKind.VolatileKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
98public static readonly SyntaxToken VolatileKeyword = Token(SyntaxKind.VolatileKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
165SyntaxKind.VolatileKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
95case SyntaxKind.VolatileKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
142SyntaxKind.VolatileKeyword => DeclarationModifiers.Volatile,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\SyntaxKindSet.cs (2)
44SyntaxKind.VolatileKeyword, 58SyntaxKind.VolatileKeyword,
Microsoft.Interop.ComInterfaceGenerator (1)
ComClassGenerator.cs (1)
95Token(SyntaxKind.VolatileKeyword)));
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\ModifierFlagsExtensions.cs (2)
32{ ModifierFlags.Volatile, SyntaxKind.VolatileKeyword }, 85case SyntaxKind.VolatileKeyword: