1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5236this.Type = type;
17 references to Type
Microsoft.CodeAnalysis.CSharp (17)
Binder\DecisionDagBuilder.cs (5)
1301ConstantValue? matches = ExpressionOfTypeMatchesPatternTypeForLearningFromSuccessfulTypeTest(t1.Type, t2.Type, ref useSiteInfo); 1316matches = Binder.ExpressionOfTypeMatchesPatternType(_conversions, t2.Type, t1.Type, ref useSiteInfo, out _); 1749return $"?{d.Kind}({tempName(d.Input)} is {b.Type})";
Binder\PatternExplainer.cs (2)
327case (test: BoundDagTypeTest { Type: var testedType }, sense: var sense): 340constraints[0] is (BoundDagTypeTest { Type: var constraintType }, true) &&
BoundTree\BoundDagTest.cs (4)
30return x.Type.Equals(y.Type, TypeCompareKind.AllIgnoreOptions); 83var typeName = b.Type.TypeKind == TypeKind.Error ? "<error type>" : b.Type.ToString();
Generated\BoundNodes.xml.Generated.cs (3)
5246if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || input != this.Input) 11578TypeSymbol? type = this.VisitType(node.Type); 16148new TreeDumperNode("type", node.Type, null),
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (3)
348return _factory.Is(input, d.Type); 469typeDecision.Type.IsReferenceType && 470typeEvaluation1.Type.Equals(typeDecision.Type, TypeCompareKind.AllIgnoreOptions) &&