18 references to Type
Microsoft.CodeAnalysis.CSharp (18)
BoundTree\UnboundLambda.cs (2)
146var delegateType = Type.GetDelegateType(); 1190var delegateType = (NamedTypeSymbol?)lambda.Type;
Compilation\CSharpSemanticModel.cs (1)
2093convertedType = lambda.Type;
FlowAnalysis\NullableWalker.cs (1)
1846lambdaIsExactMatch = updatedSymbol.Equals(boundLambda.Type!.GetDelegateType(), TypeCompareKind.ConsiderEverything);
Generated\BoundNodes.xml.Generated.cs (4)
7620if (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)) 11987TypeSymbol? type = this.VisitType(node.Type); 14554updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, node.Type); 16806new 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(); 1625var newType = VisitType(node.Type); 1655TypeSymbol type = this.VisitType(node.Type); 1694var cacheVariableType = containerAsFrame.TypeMap.SubstituteType(node.Type).Type; 1731return new BoundBadExpression(F.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(node), node.Type);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (3)
118if (!node.Type.Equals(result.Type, TypeCompareKind.IgnoreNullableModifiersForReferenceTypes)) 830return node.Type.IsExpressionTree() ? _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Quote, result) : result; 852var underlyingDelegateType = node.Type.GetDelegateType();
Lowering\LocalRewriter\LocalRewriter.cs (1)
330var delegateType = node.Type.GetDelegateType();