Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/coreclr/tools/Common/Pgo/TypeSystemEntityOrUnknown.cs')
-rw-r--r--src/coreclr/tools/Common/Pgo/TypeSystemEntityOrUnknown.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coreclr/tools/Common/Pgo/TypeSystemEntityOrUnknown.cs b/src/coreclr/tools/Common/Pgo/TypeSystemEntityOrUnknown.cs
index 6eabe55cf7c..2a064ebf032 100644
--- a/src/coreclr/tools/Common/Pgo/TypeSystemEntityOrUnknown.cs
+++ b/src/coreclr/tools/Common/Pgo/TypeSystemEntityOrUnknown.cs
@@ -23,7 +23,7 @@ namespace Internal.Pgo
_data = method;
}
- readonly object _data;
+ private readonly object _data;
public TypeDesc AsType => _data as TypeDesc;
public MethodDesc AsMethod => _data as MethodDesc;
public FieldDesc AsField => _data as FieldDesc;
@@ -39,7 +39,7 @@ namespace Internal.Pgo
}
else
{
- return object.ReferenceEquals(_data, other._data);
+ return ReferenceEquals(_data, other._data);
}
}