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