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)
11951
var result = TypeWithAnnotations.Create(node.
Type
, node.IsInferred ? NullableAnnotation.Annotated : node.NullableAnnotation);
11952
var rValueType = TypeWithState.ForType(node.
Type
);
Generated\BoundNodes.xml.Generated.cs (3)
8551
if (nullableAnnotation != this.NullableAnnotation || isInferred != this.IsInferred || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
12162
TypeSymbol? type = this.VisitType(node.
Type
);
17049
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 };