16 references to SpecialTypeAnnotation
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
ExpressionGenerator.cs (1)
289memberAccess = memberAccess.WithAdditionalAnnotations(SpecialTypeAnnotation.Create(type.SpecialType));
Simplification\Simplifiers\ExpressionSimplifier.cs (3)
104if (memberAccess.HasAnnotations(SpecialTypeAnnotation.Kind)) 107semanticModel, SpecialTypeAnnotation.GetSpecialType(memberAccess.GetAnnotations(SpecialTypeAnnotation.Kind).First()));
Simplification\Simplifiers\NameSimplifier.cs (3)
102if (name.HasAnnotations(SpecialTypeAnnotation.Kind)) 104var keywordToken = TryGetPredefinedKeywordToken(semanticModel, SpecialTypeAnnotation.GetSpecialType(name.GetAnnotations(SpecialTypeAnnotation.Kind).First()));
Microsoft.CodeAnalysis.VisualBasic.Workspaces (7)
CodeGeneration\ExpressionGenerator.vb (1)
391Return expression.WithAdditionalAnnotations(SpecialTypeAnnotation.Create(type))
Simplification\Simplifiers\ExpressionSimplifier.vb (3)
86If memberAccess.HasAnnotations(SpecialTypeAnnotation.Kind) Then 89GetPredefinedKeywordKind(SpecialTypeAnnotation.GetSpecialType(memberAccess.GetAnnotations(SpecialTypeAnnotation.Kind).First())))) _
Simplification\Simplifiers\NameSimplifier.vb (3)
61If name.HasAnnotations(SpecialTypeAnnotation.Kind) Then 64GetPredefinedKeywordKind(SpecialTypeAnnotation.GetSpecialType(name.GetAnnotations(SpecialTypeAnnotation.Kind).First())),
Microsoft.CodeAnalysis.Workspaces (2)
SimplificationHelpers.cs (2)
75var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault(); 78var specialType = SpecialTypeAnnotation.GetSpecialType(annotation2);