2 writes to IsInferred
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
8532
this.
IsInferred
= isInferred;
8539
this.
IsInferred
= isInferred;
8 references to IsInferred
Microsoft.CodeAnalysis.CSharp (8)
BoundTree\BoundDiscardExpression.cs (2)
15
Debug.Assert(this.
IsInferred
);
25
return this.Update(NullableAnnotation.Oblivious, this.
IsInferred
, binder.CreateErrorType("var"));
FlowAnalysis\NullableWalker.cs (2)
7548
else if (argument is BoundDiscardExpression discard && discard.
IsInferred
)
11951
var result = TypeWithAnnotations.Create(node.Type, node.
IsInferred
? NullableAnnotation.Annotated : node.NullableAnnotation);
Generated\BoundNodes.xml.Generated.cs (4)
8551
if (nullableAnnotation != this.NullableAnnotation || isInferred != this.
IsInferred
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12163
return node.Update(node.NullableAnnotation, node.
IsInferred
, type);
14838
BoundDiscardExpression updatedNode = node.Update(node.NullableAnnotation, node.
IsInferred
, infoAndType.Type);
17048
new TreeDumperNode("isInferred", node.
IsInferred
, null),