1 write to InferredTypes
Microsoft.CodeAnalysis.Workspaces (1)
SyntaxContext.cs (1)
118
this.
InferredTypes
= document.GetRequiredLanguageService<ITypeInferenceService>().InferTypes(semanticModel, position, cancellationToken);
8 references to InferredTypes
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\SymbolCompletionProvider.cs (1)
221
var isInferredTypeDelegateOrFunctionPointer = context.
InferredTypes
.Any(static type => type.IsDelegateType() || type.IsFunctionPointerType());
Completion\KeywordRecommenders\AbstractSpecialTypePreselectingKeywordRecommender.cs (1)
33
=> context.
InferredTypes
.Any(static (t, self) => t.SpecialType == self.SpecialType, this);
Completion\KeywordRecommenders\ThisKeywordRecommender.cs (1)
85
return context.
InferredTypes
.Any(static (t, outerType) => Equals(t, outerType), outerType);
Microsoft.CodeAnalysis.Features (3)
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (1)
58
var inferredTypes = context.
InferredTypes
.Where(t => t.SpecialType != SpecialType.System_Void).ToSet();
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
163
if (ShouldIncludeInTargetTypedCompletionList(symbol.Symbol, syntaxContext.
InferredTypes
, syntaxContext.SemanticModel, syntaxContext.Position, typeConvertibilityCache))
Completion\Providers\ImportCompletionProvider\AbstractExtensionMethodImportCompletionProvider.cs (1)
47
? syntaxContext.
InferredTypes
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Expressions\MeKeywordRecommender.vb (1)
30
If enclosingType IsNot Nothing AndAlso context.
InferredTypes
.Any(Function(t) Equals(t, enclosingType)) Then
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
109
Dim inferredSpecialTypes = context.
InferredTypes
.Select(Function(t) t.SpecialType).ToSet()