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