14 references to Type
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Deconstruct.cs (2)
379
Debug.Assert((object?)pending.
Type
== null);
412
if ((object?)pending.
Type
== null)
BoundTree\BoundDiscardExpression.cs (3)
14
Debug.Assert(
Type
is null && type.HasType);
32
Debug.Assert(this.
Type
is { });
33
return new DiscardSymbol(TypeWithAnnotations.Create(this.
Type
, this.TopLevelNullability.Annotation.ToInternalAnnotation()));
BoundTree\Formatting.cs (1)
132
get { return (object?)this.
Type
?? "_"; }
FlowAnalysis\NullableWalker.cs (2)
11954
var result = TypeWithAnnotations.Create(node.
Type
, node.IsInferred ? NullableAnnotation.Annotated : node.NullableAnnotation);
11955
var rValueType = TypeWithState.ForType(node.
Type
);
Generated\BoundNodes.xml.Generated.cs (3)
8550
if (nullableAnnotation != this.NullableAnnotation || isInferred != this.IsInferred || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
12161
TypeSymbol? type = this.VisitType(node.
Type
);
17048
new TreeDumperNode("type", node.
Type
, null),
Lowering\SyntheticBoundNodeFactory.cs (3)
1720
Debug.Assert(node.
Type
is { });
1721
temp = new SynthesizedLocal(this.CurrentFunction, TypeWithAnnotations.Create(node.
Type
), SynthesizedLocalKind.LoweringTemp);
1723
return new BoundLocal(node.Syntax, temp, constantValueOpt: null, type: node.
Type
) { WasCompilerGenerated = true };