1 instantiation of InfoCache
Microsoft.CodeAnalysis.CSharp.Features (1)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
75infoCache = new InfoCache(rangeType, stringType, compilation.ExpressionOfTType());
13 references to InfoCache
Microsoft.CodeAnalysis.CSharp.Features (13)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.cs (10)
61if (!InfoCache.TryCreate(compilation, out var infoCache)) 70private void AnalyzeInvocation(OperationAnalysisContext context, InfoCache infoCache) 91public static Result? AnalyzeInvocation(IInvocationOperation invocation, InfoCache infoCache) 115InfoCache infoCache, 138InfoCache infoCache, 160InfoCache infoCache, 223InfoCache infoCache, 272InfoCache infoCache, 302private static bool IsValidIndexing(IInvocationOperation invocation, InfoCache infoCache, IMethodSymbol targetMethod)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
65public static bool TryCreate(Compilation compilation, [NotNullWhen(true)] out InfoCache? infoCache)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (2)
69InfoCache.TryCreate(semanticModel.Compilation, out var infoCache) &&