19 references to GetInternalDelegateType
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Statements.cs (1)
2010functionType.GetInternalDelegateType() is null)
Binder\Semantics\BestTypeInferrer.cs (2)
94result = functionType.GetInternalDelegateType(); 243type is FunctionTypeSymbol functionType && functionType.GetInternalDelegateType() is null ?
Binder\Semantics\Conversions\ConversionsBase.cs (3)
2656source.GetInternalDelegateType() is { }; 2683var sourceDelegate = sourceType.GetInternalDelegateType(); 2689var destinationDelegate = destinationType.GetInternalDelegateType();
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
2670lower = removeTypes(lower, static type => isFunctionType(type, out var functionType) && functionType.GetInternalDelegateType() is null); 2764var resultType = functionType.GetInternalDelegateType();
BoundTree\BoundExpressionExtensions.cs (1)
121var delegateType = expr.GetFunctionType()?.GetInternalDelegateType();
BoundTree\UnboundLambda.cs (1)
271bestType = functionType.GetInternalDelegateType();
Symbols\FunctionTypeSymbol.cs (9)
32/// The actual delegate signature is calculated on demand in <see cref="GetInternalDelegateType()"/>. 164var thisDelegateType = GetInternalDelegateType(); 166var otherDelegateType = otherType.GetInternalDelegateType(); 181var thisDelegateType = GetInternalDelegateType(); 191var thisDelegateType = GetInternalDelegateType(); 208var thisDelegateType = GetInternalDelegateType(); 209var otherDelegateType = otherType.GetInternalDelegateType(); 224return GetInternalDelegateType()?.GetHashCode() ?? 0; 229return $"FunctionTypeSymbol: {GetInternalDelegateType()?.GetDebuggerDisplay()}";