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/TypeSystem/IL/DelegateInfo.cs')
-rw-r--r--src/coreclr/tools/Common/TypeSystem/IL/DelegateInfo.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/coreclr/tools/Common/TypeSystem/IL/DelegateInfo.cs b/src/coreclr/tools/Common/TypeSystem/IL/DelegateInfo.cs
index 1edcea55169..11c803cf761 100644
--- a/src/coreclr/tools/Common/TypeSystem/IL/DelegateInfo.cs
+++ b/src/coreclr/tools/Common/TypeSystem/IL/DelegateInfo.cs
@@ -71,10 +71,7 @@ namespace Internal.IL
{
get
{
- if (_signature == null)
- {
- _signature = _delegateType.GetKnownMethod("Invoke", null).Signature;
- }
+ _signature ??= _delegateType.GetKnownMethod("Invoke", null).Signature;
return _signature;
}
}