2 writes to IsInferred
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
8531
this.
IsInferred
= isInferred;
8538
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)
7551
else if (argument is BoundDiscardExpression discard && discard.
IsInferred
)
11954
var result = TypeWithAnnotations.Create(node.Type, node.
IsInferred
? NullableAnnotation.Annotated : node.NullableAnnotation);
Generated\BoundNodes.xml.Generated.cs (4)
8550
if (nullableAnnotation != this.NullableAnnotation || isInferred != this.
IsInferred
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12162
return node.Update(node.NullableAnnotation, node.
IsInferred
, type);
14837
BoundDiscardExpression updatedNode = node.Update(node.NullableAnnotation, node.
IsInferred
, infoAndType.Type);
17047
new TreeDumperNode("isInferred", node.
IsInferred
, null),