diff options
Diffstat (limited to 'src/coreclr/tools/Common/TypeSystem/IL/DelegateInfo.cs')
-rw-r--r-- | src/coreclr/tools/Common/TypeSystem/IL/DelegateInfo.cs | 5 |
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; } } |