2 references to HandleSuspectType
Microsoft.Analyzers.Extra (2)
CallAnalysis\Arrays.cs (2)
101
static void HandleMethod(OperationAnalysisContext context, IInvocationOperation op) =>
HandleSuspectType
(context, (INamedTypeSymbol)op.TargetMethod.ReturnType, op.Syntax.GetLocation());
103
static void HandleConstructor(OperationAnalysisContext context, IObjectCreationOperation op) =>
HandleSuspectType
(context, (INamedTypeSymbol)op.Type!, op.Syntax.GetLocation());