18 references to Type
Microsoft.CodeAnalysis.CSharp (18)
BoundTree\UnboundLambda.cs (2)
146
var delegateType =
Type
.GetDelegateType();
1190
var delegateType = (NamedTypeSymbol?)lambda.
Type
;
Compilation\CSharpSemanticModel.cs (1)
2093
convertedType = lambda.
Type
;
FlowAnalysis\NullableWalker.cs (1)
1846
lambdaIsExactMatch = updatedSymbol.Equals(boundLambda.
Type
!.GetDelegateType(), TypeCompareKind.ConsiderEverything);
Generated\BoundNodes.xml.Generated.cs (4)
7621
if (unboundLambda != this.UnboundLambda || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(symbol, this.Symbol) || body != this.Body || diagnostics != this.Diagnostics || binder != this.Binder || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11988
TypeSymbol? type = this.VisitType(node.
Type
);
14555
updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, node.
Type
);
16807
new TreeDumperNode("type", node.
Type
, null),
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
446
_inExpressionTree |= node.
Type
.IsExpressionTree();
Lowering\ClosureConversion\ClosureConversion.cs (5)
1621
_inExpressionLambda = _inExpressionLambda || node.
Type
.IsExpressionTree();
1625
var newType = VisitType(node.
Type
);
1655
TypeSymbol type = this.VisitType(node.
Type
);
1694
var cacheVariableType = containerAsFrame.TypeMap.SubstituteType(node.
Type
).Type;
1731
return new BoundBadExpression(F.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(node), node.
Type
);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (3)
118
if (!node.
Type
.Equals(result.Type, TypeCompareKind.IgnoreNullableModifiersForReferenceTypes))
830
return node.
Type
.IsExpressionTree() ? _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Quote, result) : result;
852
var underlyingDelegateType = node.
Type
.GetDelegateType();
Lowering\LocalRewriter\LocalRewriter.cs (1)
330
var delegateType = node.
Type
.GetDelegateType();