1 write to ForceCopyOfNullableValueType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5864this.ForceCopyOfNullableValueType = forceCopyOfNullableValueType;
14 references to ForceCopyOfNullableValueType
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\EmitExpression.cs (1)
425var nullCheckOnCopy = (expression.ForceCopyOfNullableValueType && notConstrained &&
CodeGen\Optimizer.cs (1)
1546return node.Update(receiver, node.HasValueMethodOpt, whenNotNull, whenNull, node.Id, node.ForceCopyOfNullableValueType, node.Type);
Generated\BoundNodes.xml.Generated.cs (5)
5880if (receiver != this.Receiver || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(hasValueMethodOpt, this.HasValueMethodOpt) || whenNotNull != this.WhenNotNull || whenNullOpt != this.WhenNullOpt || id != this.Id || forceCopyOfNullableValueType != this.ForceCopyOfNullableValueType || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11316return node.Update(receiver, node.HasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, type); 13383updatedNode = node.Update(receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, infoAndType.Type!); 13388updatedNode = node.Update(receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, node.Type); 15774new TreeDumperNode("forceCopyOfNullableValueType", node.ForceCopyOfNullableValueType, null),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
577forceCopyOfNullableValueType: conditionalLeft.ForceCopyOfNullableValueType, 1904return conditionalAccess.Update(conditionalAccess.Receiver, conditionalAccess.HasValueMethodOpt, whenNotNull, whenNull, conditionalAccess.Id, conditionalAccess.ForceCopyOfNullableValueType, whenNotNull.Type!);
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
128forceCopyOfNullableValueType: conditionalAccess.ForceCopyOfNullableValueType,
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
279forceCopyOfNullableValueType: conditionalLeft.ForceCopyOfNullableValueType,
Lowering\MethodToClassRewriter.cs (1)
603return node.Update(receiver, VisitMethodSymbol(node.HasValueMethodOpt), whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, type);
Lowering\SpillSequenceSpiller.cs (1)
1180return UpdateExpression(receiverBuilder, node.Update(receiver, node.HasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, node.Type));
Lowering\SyntheticBoundNodeFactory.cs (1)
1736return conditionalAccess.Update(conditionalAccess.Receiver, conditionalAccess.HasValueMethodOpt, whenNotNull, whenNull, conditionalAccess.Id, conditionalAccess.ForceCopyOfNullableValueType, whenNotNull.Type);