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