2 implementations of ITypeInferenceService
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
AbstractTypeInferenceService.AbstractTypeInferrer.cs (1)
16internal partial class AbstractTypeInferenceService : ITypeInferenceService
AbstractTypeInferenceService.cs (1)
13internal abstract partial class AbstractTypeInferenceService : ITypeInferenceService
16 references to ITypeInferenceService
Microsoft.CodeAnalysis.CodeStyle.Fixes (11)
ITypeInferenceServiceExtensions.cs (10)
15public static ImmutableArray<ITypeSymbol> InferTypes(this ITypeInferenceService service, SemanticModel semanticModel, SyntaxNode expression, CancellationToken cancellationToken) 18public static ImmutableArray<ITypeSymbol> InferTypes(this ITypeInferenceService service, SemanticModel semanticModel, int position, CancellationToken cancellationToken) 21public static ImmutableArray<TypeInferenceInfo> GetTypeInferenceInfo(this ITypeInferenceService service, SemanticModel semanticModel, int position, CancellationToken cancellationToken) 24public static ImmutableArray<TypeInferenceInfo> GetTypeInferenceInfo(this ITypeInferenceService service, SemanticModel semanticModel, SyntaxNode expression, CancellationToken cancellationToken) 28this ITypeInferenceService typeInferenceService, 38this ITypeInferenceService typeInferenceService, 54this ITypeInferenceService typeInferenceService, 66this ITypeInferenceService typeInferenceService, 84this ITypeInferenceService typeInferenceService, 96this ITypeInferenceService typeInferenceService,
SyntaxContext.cs (1)
118this.InferredTypes = document.GetRequiredLanguageService<ITypeInferenceService>().InferTypes(semanticModel, position, cancellationToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
CSharpAddExplicitCastCodeFixProvider.cs (2)
70var inferenceService = document.GetRequiredLanguageService<ITypeInferenceService>();
CSharpTypeInferenceService.cs (1)
16[ExportLanguageService(typeof(ITypeInferenceService), LanguageNames.CSharp), Shared]
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
VisualBasicAddExplicitCastCodeFixProvider.vb (1)
77Dim inferenceService = document.GetRequiredLanguageService(Of ITypeInferenceService)()
VisualBasicTypeInferenceService.vb (1)
13<ExportLanguageService(GetType(ITypeInferenceService), LanguageNames.VisualBasic), [Shared]>