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