1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5420
this.
Type
= type;
21 references to Type
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (1)
1737
return $"t{tempIdentifier(a)}={a.Kind}({tempName(a.Input)} as {a.
Type
})";
Binder\PatternExplainer.cs (4)
341
evaluations[0] is BoundDagTypeEvaluation {
Type
: var evaluationType } te &&
344
var typedTemp = new BoundDagTemp(te.Syntax, te.
Type
, te);
356
evaluations[0] is BoundDagTypeEvaluation {
Type
: var evaluationType } te &&
359
var typedTemp = new BoundDagTemp(te.Syntax, te.
Type
, te);
BoundTree\BoundDagEvaluation.cs (1)
39
BoundDagTypeEvaluation e => e.
Type
,
BoundTree\BoundDagTest.cs (1)
55
return $"{a.GetOutputTempDebuggerDisplay()} = ({a.
Type
}){a.Input.GetDebuggerDisplay()}";
FlowAnalysis\NullableWalker_Patterns.cs (5)
461
var output = new BoundDagTemp(e.Syntax, e.
Type
, e);
464
switch (_conversions.WithNullability(false).ClassifyConversionFromType(inputType, e.
Type
, isChecked: false, ref discardedUseSiteInfo).Kind)
470
case ConversionKind.ExplicitNullable when AreNullableAndUnderlyingTypes(inputType, e.
Type
, out _):
476
outputSlot = makeDagTempSlot(TypeWithAnnotations.Create(e.
Type
, NullableAnnotation.NotAnnotated), output);
482
addToTempMap(output, outputSlot, e.
Type
);
Generated\BoundNodes.xml.Generated.cs (3)
5430
if (!TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything) || input != this.Input)
11609
TypeSymbol? type = this.VisitType(node.
Type
);
16190
new TreeDumperNode("type", node.
Type
, null),
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (6)
207
TypeSymbol type = t.
Type
;
470
typeEvaluation1.
Type
.Equals(typeDecision.Type, TypeCompareKind.AllIgnoreOptions) &&
474
BoundExpression output = _tempAllocator.GetTemp(new BoundDagTemp(evaluation.Syntax, typeEvaluation1.
Type
, evaluation));
476
sideEffect = _factory.AssignmentExpression(output, _factory.As(input, typeEvaluation1.
Type
));
484
_factory.Compilation.Conversions.ClassifyBuiltInConversion(test.Input.Type, typeEvaluation2.
Type
, isChecked: false, ref useSiteInfo) is Conversion conv &&
489
var baseType = typeEvaluation2.
Type
;