1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5421this.Type = type;
21 references to Type
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (1)
1737return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.Input)} as {a.Type})";
Binder\PatternExplainer.cs (4)
341evaluations[0] is BoundDagTypeEvaluation { Type: var evaluationType } te && 344var typedTemp = new BoundDagTemp(te.Syntax, te.Type, te); 356evaluations[0] is BoundDagTypeEvaluation { Type: var evaluationType } te && 359var typedTemp = new BoundDagTemp(te.Syntax, te.Type, te);
BoundTree\BoundDagEvaluation.cs (1)
39BoundDagTypeEvaluation e => e.Type,
BoundTree\BoundDagTest.cs (1)
55return $"{a.GetOutputTempDebuggerDisplay()} = ({a.Type}){a.Input.GetDebuggerDisplay()}";
FlowAnalysis\NullableWalker_Patterns.cs (5)
461var output = new BoundDagTemp(e.Syntax, e.Type, e); 464switch (_conversions.WithNullability(false).ClassifyConversionFromType(inputType, e.Type, isChecked: false, ref discardedUseSiteInfo).Kind) 470case ConversionKind.ExplicitNullable when AreNullableAndUnderlyingTypes(inputType, e.Type, out _): 476outputSlot = makeDagTempSlot(TypeWithAnnotations.Create(e.Type, NullableAnnotation.NotAnnotated), output); 482addToTempMap(output, outputSlot, e.Type);
Generated\BoundNodes.xml.Generated.cs (3)
5431if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 11610TypeSymbol? type = this.VisitType(node.Type); 16191new TreeDumperNode("type", node.Type, null),
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (6)
207TypeSymbol type = t.Type; 470typeEvaluation1.Type.Equals(typeDecision.Type, TypeCompareKind.AllIgnoreOptions) && 474BoundExpression output = _tempAllocator.GetTemp(new BoundDagTemp(evaluation.Syntax, typeEvaluation1.Type, evaluation)); 476sideEffect = _factory.AssignmentExpression(output, _factory.As(input, typeEvaluation1.Type)); 484_factory.Compilation.Conversions.ClassifyBuiltInConversion(test.Input.Type, typeEvaluation2.Type, isChecked: false, ref useSiteInfo) is Conversion conv && 489var baseType = typeEvaluation2.Type;