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