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