22 references to GetInternalDelegateType
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Invocation.cs (1)
2027
functionType.
GetInternalDelegateType
() is { } delegateType)
Binder\Binder_Statements.cs (1)
2043
functionType.
GetInternalDelegateType
() is null)
Binder\Semantics\BestTypeInferrer.cs (3)
82
return function.
GetInternalDelegateType
();
103
result = functionType.
GetInternalDelegateType
();
251
type is FunctionTypeSymbol functionType && functionType.
GetInternalDelegateType
() is null ?
Binder\Semantics\Conversions\ConversionsBase.cs (3)
2805
source.
GetInternalDelegateType
() is { };
2832
var sourceDelegate = sourceType.
GetInternalDelegateType
();
2838
var destinationDelegate = destinationType.
GetInternalDelegateType
();
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
2866
lowerPredicate = static type => !isFunctionType(type, out var functionType) || functionType.
GetInternalDelegateType
() is not null;
2961
var resultType = functionType.
GetInternalDelegateType
();
BoundTree\BoundExpressionExtensions.cs (1)
139
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
();
214
var thisDelegateType =
GetInternalDelegateType
();
215
var otherDelegateType = otherType.
GetInternalDelegateType
();
230
return
GetInternalDelegateType
()?.GetHashCode() ?? 0;
235
return $"FunctionTypeSymbol: {
GetInternalDelegateType
()?.GetDebuggerDisplay()}";
Symbols\TypeSymbolExtensions.cs (1)
841
if (((FunctionTypeSymbol)current).
GetInternalDelegateType
() is not { } delegateType)