1 instantiation of InfoCache
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpUseIndexOperatorDiagnosticAnalyzer.InfoCache.cs (1)
52infoCache = new InfoCache(indexType, compilation.ExpressionOfTType());
8 references to InfoCache
Microsoft.CodeAnalysis.CSharp.Features (8)
CSharpUseIndexOperatorDiagnosticAnalyzer.cs (7)
70if (!InfoCache.TryCreate(compilation, out var infoCache)) 99OperationAnalysisContext context, InfoCache infoCache) 117OperationAnalysisContext context, InfoCache infoCache) 139OperationAnalysisContext context, InfoCache infoCache, IPropertySymbol arrayLengthProperty) 159InfoCache infoCache, 214private static IPropertySymbol? TryGetLengthLikeProperty(InfoCache infoCache, IMethodSymbol? targetMethod)
CSharpUseIndexOperatorDiagnosticAnalyzer.InfoCache.cs (1)
43public static bool TryCreate(Compilation compilation, [NotNullWhen(true)] out InfoCache? infoCache)