8 references to TryGetPredefinedKeywordToken
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (2)
154var keywordToken = TryGetPredefinedKeywordToken(semanticModel, type.SpecialType); 168var keywordToken = TryGetPredefinedKeywordToken(semanticModel, type.SpecialType);
Simplification\Simplifiers\ExpressionSimplifier.cs (2)
103var replacementToken = TryGetPredefinedKeywordToken( 180var keywordToken = TryGetPredefinedKeywordToken(semanticModel, namedType.SpecialType);
Simplification\Simplifiers\NameSimplifier.cs (3)
104var keywordToken = TryGetPredefinedKeywordToken(semanticModel, SpecialTypeAnnotation.GetSpecialType(name.GetAnnotations(SpecialTypeAnnotation.Kind).First())); 253var keywordToken = TryGetPredefinedKeywordToken(semanticModel, type.SpecialType); 262var keywordToken = TryGetPredefinedKeywordToken(semanticModel, namedType.SpecialType);
Simplification\Simplifiers\QualifiedCrefSimplifier.cs (1)
50var keywordToken = TryGetPredefinedKeywordToken(semanticModel, namedSymbol.SpecialType);