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