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/Ecma/MetadataExtensions.cs')
-rw-r--r--src/coreclr/tools/Common/TypeSystem/Ecma/MetadataExtensions.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/coreclr/tools/Common/TypeSystem/Ecma/MetadataExtensions.cs b/src/coreclr/tools/Common/TypeSystem/Ecma/MetadataExtensions.cs
index d021fb01be2..640a70efa7c 100644
--- a/src/coreclr/tools/Common/TypeSystem/Ecma/MetadataExtensions.cs
+++ b/src/coreclr/tools/Common/TypeSystem/Ecma/MetadataExtensions.cs
@@ -122,7 +122,7 @@ namespace Internal.TypeSystem.Ecma
return default(CustomAttributeHandle);
}
- private static bool IsEqualCustomAttributeName(CustomAttributeHandle attributeHandle, MetadataReader metadataReader,
+ private static bool IsEqualCustomAttributeName(CustomAttributeHandle attributeHandle, MetadataReader metadataReader,
string attributeNamespace, string attributeName)
{
StringHandle namespaceHandle, nameHandle;
@@ -136,8 +136,8 @@ namespace Internal.TypeSystem.Ecma
public static bool GetAttributeNamespaceAndName(this MetadataReader metadataReader, CustomAttributeHandle attributeHandle,
out StringHandle namespaceHandle, out StringHandle nameHandle)
{
- EntityHandle attributeType, attributeCtor;
- if (!GetAttributeTypeAndConstructor(metadataReader, attributeHandle, out attributeType, out attributeCtor))
+ EntityHandle attributeType;
+ if (!GetAttributeTypeAndConstructor(metadataReader, attributeHandle, out attributeType, out _))
{
namespaceHandle = default(StringHandle);
nameHandle = default(StringHandle);
@@ -211,7 +211,7 @@ namespace Internal.TypeSystem.Ecma
public static PInvokeFlags GetDelegatePInvokeFlags(this EcmaType type)
{
PInvokeFlags flags = new PInvokeFlags(PInvokeAttributes.PreserveSig);
-
+
if (!type.IsDelegate)
{
return flags;