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