1 instantiation of InfoCache
Microsoft.CodeAnalysis.CSharp.Features (1)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
75
infoCache = 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)
61
if (!
InfoCache
.TryCreate(compilation, out
var
infoCache))
70
private void AnalyzeInvocation(OperationAnalysisContext context,
InfoCache
infoCache)
91
public static Result? AnalyzeInvocation(IInvocationOperation invocation,
InfoCache
infoCache)
115
InfoCache
infoCache,
138
InfoCache
infoCache,
160
InfoCache
infoCache,
223
InfoCache
infoCache,
272
InfoCache
infoCache,
302
private static bool IsValidIndexing(IInvocationOperation invocation,
InfoCache
infoCache, IMethodSymbol targetMethod)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
65
public static bool TryCreate(Compilation compilation, [NotNullWhen(true)] out
InfoCache
? infoCache)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (2)
69
InfoCache
.TryCreate(semanticModel.Compilation, out
var
infoCache) &&