1 instantiation of RuntimeTypeInvocationContext
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\PreferGenericOverloads.cs (1)
209
invocationContext = new
RuntimeTypeInvocationContext
(invocation, typeOfArguments, typeArguments, otherArguments);
9 references to RuntimeTypeInvocationContext
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Usage\CSharpPreferGenericOverloads.cs (2)
20
protected sealed override bool TryGetModifiedInvocationSyntax(
RuntimeTypeInvocationContext
invocationContext, [NotNullWhen(true)] out SyntaxNode? modifiedInvocationSyntax)
28
internal static SyntaxNode? GetModifiedInvocationSyntax(
RuntimeTypeInvocationContext
invocationContext)
Microsoft.NetCore.Analyzers\Usage\CSharpPreferGenericOverloads.Fixer.cs (2)
28
if (!
RuntimeTypeInvocationContext
.TryGetContext(invocation, out
var
invocationContext))
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.NetCore.Analyzers\Usage\PreferGenericOverloads.cs (5)
55
if (!
RuntimeTypeInvocationContext
.TryGetContext((IInvocationOperation)context.Operation, systemType, out
var
invocationContext))
164
public static bool TryGetContext(IInvocationOperation invocation, [NotNullWhen(true)] out
RuntimeTypeInvocationContext
? invocationContext)
169
public static bool TryGetContext(IInvocationOperation invocation, INamedTypeSymbol? systemType, [NotNullWhen(true)] out
RuntimeTypeInvocationContext
? invocationContext)
326
protected abstract bool TryGetModifiedInvocationSyntax(
RuntimeTypeInvocationContext
invocationContext, [NotNullWhen(true)] out SyntaxNode? modifiedInvocationSyntax);