1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5482this.Type = type;
27 references to Type
Microsoft.CodeAnalysis.CSharp (27)
Binder\DecisionDagBuilder.cs (9)
2544if (!s1.Type.Equals(s2.Type, TypeCompareKind.AllIgnoreOptions)) 2571if (!s1.Type.Equals(s2Source.MakeResultTemp().Type, TypeCompareKind.AllIgnoreOptions)) 2583if (!s2.Type.Equals(s1Source.MakeResultTemp().Type, TypeCompareKind.AllIgnoreOptions)) 2860return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.Input)} as {a.Type})"; 3716if (e1.Type.Equals(typeEval.Type, TypeCompareKind.AllIgnoreOptions)) 3758dagBuilder.CheckConsistentTypeTestsDecision(null, typeEval.Syntax, ref trueTestPermitsTrueOther, ref falseTestPermitsTrueOther, ref trueTestImpliesTrueOther, ref falseTestImpliesTrueOther, e1.Type, typeEval.Type);
Binder\PatternExplainer.cs (2)
380if (evaluations is [BoundDagTypeEvaluation { Type: var evaluationType } te]) 412evaluations[0] is BoundDagTypeEvaluation { Type: var evaluationType } te &&
BoundTree\BoundDagEvaluation.cs (3)
55BoundDagTypeEvaluation e => e.Type, 135return new BoundDagTemp(Syntax, Type, this); 141return Update(Type, input);
BoundTree\BoundDagTest.cs (1)
65return $"{a.GetOutputTempDebuggerDisplay()} = ({a.Type}){a.Input.GetDebuggerDisplay()}";
FlowAnalysis\NullableWalker_Patterns.cs (4)
708switch (_conversions.WithNullability(false).ClassifyConversionFromType(e.Input.Type, e.Type, isChecked: false, ref discardedUseSiteInfo).Kind) 714case ConversionKind.ExplicitNullable when AreNullableAndUnderlyingTypes(inputType, e.Type, out _): 720outputSlot = makeDagTempSlot(TypeWithAnnotations.Create(e.Type, NullableAnnotation.NotAnnotated), output); 724addToTempMap(output, outputSlot, e.Type);
Generated\BoundNodes.xml.Generated.cs (3)
5492if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 12024TypeSymbol? type = this.VisitType(node.Type); 16716new TreeDumperNode("type", node.Type, null),
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (5)
224TypeSymbol type = t.Type; 505typeEvaluation1.Type.Equals(typeDecision.Type, TypeCompareKind.AllIgnoreOptions) && 511sideEffect = _factory.AssignmentExpression(output, _factory.As(input, typeEvaluation1.Type)); 519_factory.Compilation.Conversions.ClassifyBuiltInConversion(test.Input.Type, typeEvaluation2.Type, isChecked: false, ref useSiteInfo) is Conversion conv && 524var baseType = typeEvaluation2.Type;