1 write to ForceCopyOfNullableValueType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5975this.ForceCopyOfNullableValueType = forceCopyOfNullableValueType;
14 references to ForceCopyOfNullableValueType
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\EmitExpression.cs (1)
440var nullCheckOnCopy = (expression.ForceCopyOfNullableValueType && notConstrained &&
CodeGen\Optimizer.cs (1)
1613return node.Update(receiver, node.HasValueMethodOpt, whenNotNull, whenNull, node.Id, node.ForceCopyOfNullableValueType, node.Type);
Generated\BoundNodes.xml.Generated.cs (5)
5991if (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)) 11711return node.Update(receiver, node.HasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, type); 13850updatedNode = node.Update(receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, infoAndType.Type!); 13855updatedNode = node.Update(receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, node.Type); 16334new TreeDumperNode("forceCopyOfNullableValueType", node.ForceCopyOfNullableValueType, null),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
579forceCopyOfNullableValueType: conditionalLeft.ForceCopyOfNullableValueType, 1984return conditionalAccess.Update(conditionalAccess.Receiver, conditionalAccess.HasValueMethodOpt, whenNotNull, whenNull, conditionalAccess.Id, conditionalAccess.ForceCopyOfNullableValueType, whenNotNull.Type!);
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
126forceCopyOfNullableValueType: conditionalAccess.ForceCopyOfNullableValueType,
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
284forceCopyOfNullableValueType: conditionalLeft.ForceCopyOfNullableValueType,
Lowering\MethodToClassRewriter.cs (1)
612return node.Update(receiver, VisitMethodSymbol(node.HasValueMethodOpt), whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, type);
Lowering\SpillSequenceSpiller.cs (1)
1278return UpdateExpression(receiverBuilder, node.Update(receiver, node.HasValueMethodOpt, whenNotNull, whenNullOpt, node.Id, node.ForceCopyOfNullableValueType, node.Type));
Lowering\SyntheticBoundNodeFactory.cs (1)
1864return conditionalAccess.Update(conditionalAccess.Receiver, conditionalAccess.HasValueMethodOpt, whenNotNull, whenNull, conditionalAccess.Id, conditionalAccess.ForceCopyOfNullableValueType, whenNotNull.Type);