Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Revert making Nullable<T> readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Nov 23, 2017
1 parent 06828ca commit 5547606
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mscorlib/shared/System/Nullable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ namespace System
[Serializable]
[NonVersionable] // This only applies to field layout
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public readonly struct Nullable<T> where T : struct
public struct Nullable<T> where T : struct
{
private readonly bool hasValue; // Do not rename (binary serialization)
internal readonly T value; // Do not rename (binary serialization)
internal T value; // Do not rename (binary serialization)

[NonVersionable]
public Nullable(T value)
Expand Down

0 comments on commit 5547606

Please sign in to comment.