7 references to Method
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\CSharpPreferGenericOverloads.cs (1)
43
SyntaxFactory.Identifier(invocationContext.
Method
.Name),
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.NetCore.Analyzers\Usage\PreferGenericOverloads.cs (5)
52
var genericInvocation = invocationContext.
Method
.ContainingType
53
.GetMembers(invocationContext.
Method
.Name)
63
invocationContext.
Method
.ToDisplayString()));
80
if (invocationContext.
Method
.ReducedFrom is not null)
218
return method.ReturnType.IsAssignableTo(
Method
.ReturnType, compilation);
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\BasicPreferGenericOverloads.vb (1)
38
SyntaxFactory.GenericName(SyntaxFactory.Identifier(invocationContext.
Method
.Name),