2 writes to IsInferred
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
8532this.IsInferred = isInferred; 8539this.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)
7548else if (argument is BoundDiscardExpression discard && discard.IsInferred) 11951var result = TypeWithAnnotations.Create(node.Type, node.IsInferred ? NullableAnnotation.Annotated : node.NullableAnnotation);
Generated\BoundNodes.xml.Generated.cs (4)
8551if (nullableAnnotation != this.NullableAnnotation || isInferred != this.IsInferred || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 12163return node.Update(node.NullableAnnotation, node.IsInferred, type); 14838BoundDiscardExpression updatedNode = node.Update(node.NullableAnnotation, node.IsInferred, infoAndType.Type); 17048new TreeDumperNode("isInferred", node.IsInferred, null),