12 references to IsDelegateType
Microsoft.CodeAnalysis.CodeStyle (9)
AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (4)
277if (!operation.Type.IsDelegateType()) 307if (assignmentOperation.Target.Type.IsDelegateType() && 397(method.ReturnType.IsDelegateType() || 398method.Parameters.Any(static p => p.IsRefOrOut() && p.Type.IsDelegateType())))
AbstractSpeculationAnalyzer.cs (2)
901if (newSymbol.ContainingType.IsDelegateType() && 902symbol.ContainingType.IsDelegateType() &&
ITypeSymbolExtensions.cs (1)
423if (typeSymbol.IsDelegateType())
SymbolUsageAnalysis.Walker.cs (2)
336operation.Value.Type.IsDelegateType()) 472Debug.Assert(operation.Type.IsDelegateType());
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (2)
114if (!delegateType.IsDelegateType() || 263if (!convertedType.IsDelegateType())
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpTypeInferenceService.TypeInferrer.cs (1)
1007otherSideTypes = otherSideTypes.Where(t => !t.InferredType.IsDelegateType());