1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5298this.Type = type;
20 references to Type
Microsoft.CodeAnalysis.CSharp (20)
Binder\DecisionDagBuilder.cs (5)
1799var fromTestPassing = factory.FromTypeMatch(typeTest.Type, _conversions, ref useSiteInfo); 1984CheckConsistentTypeTestsDecision(whenFalseValues, syntax, ref trueTestPermitsTrueOther, ref falseTestPermitsTrueOther, ref trueTestImpliesTrueOther, ref falseTestImpliesTrueOther, t1.Type, t2.Type); 2310targetType = typeTest.Type; 2872return $"?{d.Kind}({tempName(d.Input)} is {b.Type})";
Binder\PatternExplainer.cs (4)
368case (test: BoundDagTypeTest { Type: var testedType }, sense: var sense): 385if (constraints is [(BoundDagTypeTest { Type: var constraintType1 }, true)]) 390else if (constraints is [(BoundDagNonNullTest, true) or (BoundDagExplicitNullTest, false), (BoundDagTypeTest { Type: var constraintType2 }, var sense2)]) 599filtered = factory.FromTypeMatch(typeTest.Type, conversions, ref discardedInfo);
BoundTree\BoundDagTest.cs (5)
32return x.Type.Equals(y.Type, TypeCompareKind.AllIgnoreOptions); 113var typeName = b.Type.TypeKind == TypeKind.Error ? "<error type>" : b.Type.ToString(); 166return Update(Type, input);
Generated\BoundNodes.xml.Generated.cs (3)
5308if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 11992TypeSymbol? type = this.VisitType(node.Type); 16674new TreeDumperNode("type", node.Type, null),
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (3)
377return _factory.Is(input, d.Type); 504typeDecision.Type.IsReferenceType && 505typeEvaluation1.Type.Equals(typeDecision.Type, TypeCompareKind.AllIgnoreOptions) &&