10 references to Kind
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Simplification\Simplifiers\ExpressionSimplifier.cs (2)
104if (memberAccess.HasAnnotations(SpecialTypeAnnotation.Kind)) 107semanticModel, SpecialTypeAnnotation.GetSpecialType(memberAccess.GetAnnotations(SpecialTypeAnnotation.Kind).First()));
Simplification\Simplifiers\NameSimplifier.cs (2)
102if (name.HasAnnotations(SpecialTypeAnnotation.Kind)) 104var keywordToken = TryGetPredefinedKeywordToken(semanticModel, SpecialTypeAnnotation.GetSpecialType(name.GetAnnotations(SpecialTypeAnnotation.Kind).First()));
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
Simplification\Simplifiers\ExpressionSimplifier.vb (2)
86If memberAccess.HasAnnotations(SpecialTypeAnnotation.Kind) Then 89GetPredefinedKeywordKind(SpecialTypeAnnotation.GetSpecialType(memberAccess.GetAnnotations(SpecialTypeAnnotation.Kind).First())))) _
Simplification\Simplifiers\NameSimplifier.vb (2)
61If name.HasAnnotations(SpecialTypeAnnotation.Kind) Then 64GetPredefinedKeywordKind(SpecialTypeAnnotation.GetSpecialType(name.GetAnnotations(SpecialTypeAnnotation.Kind).First())),
Microsoft.CodeAnalysis.Workspaces (2)
SimplificationHelpers.cs (1)
75var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();
SpecialTypeAnnotation.cs (1)
18=> new(Kind, s_fromSpecialTypes.GetOrAdd(specialType, CreateFromSpecialTypes));