1 instantiation of Info
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\ProvideCorrectArgumentsToFormattingMethods.cs (1)
452formatInfo = new Info(formatIndex, expectedArguments);
9 references to Info
Microsoft.CodeAnalysis.NetAnalyzers (9)
Microsoft.NetCore.Analyzers\Runtime\ProvideCorrectArgumentsToFormattingMethods.cs (9)
64StringFormatInfo.Info? info = formatInfo.TryGet(invocation.TargetMethod, operationContext); 344private readonly ConcurrentDictionary<IMethodSymbol, Info?> _map; 348_map = new ConcurrentDictionary<IMethodSymbol, Info?>(); 366public Info? TryGet(IMethodSymbol method, OperationAnalysisContext context) 368if (_map.TryGetValue(method, out Info? info)) 419TryGetFormatInfoByParameterName(method, out var _); 423private bool TryGetFormatInfoByCompositeFormatStringSyntaxAttribute(IMethodSymbol method, [NotNullWhen(returnValue: true)] out Info? formatInfo) 429private bool TryGetFormatInfoByParameterName(IMethodSymbol method, [NotNullWhen(returnValue: true)] out Info? formatInfo) 435private bool TryGetFormatInfo(IMethodSymbol method, int formatIndex, [NotNullWhen(returnValue: true)] out Info? formatInfo)