6 references to Method
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\CSharpPreferGenericOverloads.cs (1)
42SyntaxFactory.Identifier(invocationContext.Method.Name),
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.NetCore.Analyzers\Usage\PreferGenericOverloads.cs (5)
61var genericInvocation = invocationContext.Method.ContainingType 62.GetMembers(invocationContext.Method.Name) 72invocationContext.Method.ToDisplayString())); 89if (invocationContext.Method.ReducedFrom is not null) 246return method.ReturnType.IsAssignableTo(Method.ReturnType, compilation);