1 instantiation of InfoCache
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
65infoCache = new InfoCache(rangeType, stringType, compilation.ExpressionOfTType());
12 references to InfoCache
Microsoft.CodeAnalysis.CSharp.Features (12)
CSharpUseRangeOperatorCodeFixProvider.cs (2)
73InfoCache.TryCreate(semanticModel.Compilation, out var infoCache) &&
CSharpUseRangeOperatorDiagnosticAnalyzer.cs (9)
67if (!InfoCache.TryCreate(context.Compilation, out var infoCache)) 76private void AnalyzeInvocation(OperationAnalysisContext context, InfoCache infoCache) 97public static Result? AnalyzeInvocation(IInvocationOperation invocation, InfoCache infoCache) 121InfoCache infoCache, 145InfoCache infoCache, 161InfoCache infoCache, 210InfoCache infoCache, 240private static bool IsValidIndexing(IInvocationOperation invocation, InfoCache infoCache, IMethodSymbol targetMethod)
CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
55public static bool TryCreate(Compilation compilation, [NotNullWhen(true)] out InfoCache? infoCache)