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/Compiler/TypeExtensions.cs')
-rw-r--r--src/coreclr/tools/Common/Compiler/TypeExtensions.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/coreclr/tools/Common/Compiler/TypeExtensions.cs b/src/coreclr/tools/Common/Compiler/TypeExtensions.cs
index 47cdc09d7bb..f50028f09c4 100644
--- a/src/coreclr/tools/Common/Compiler/TypeExtensions.cs
+++ b/src/coreclr/tools/Common/Compiler/TypeExtensions.cs
@@ -3,8 +3,6 @@
using System;
using System.Runtime.CompilerServices;
-
-using Internal.IL;
using Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
@@ -91,9 +89,9 @@ namespace ILCompiler
public static bool IsArrayMethod(this MethodDesc method)
{
var arrayMethod = method as ArrayMethod;
- return arrayMethod != null && (arrayMethod.Kind == ArrayMethodKind.Address ||
- arrayMethod.Kind == ArrayMethodKind.Get ||
- arrayMethod.Kind == ArrayMethodKind.Set ||
+ return arrayMethod != null && (arrayMethod.Kind == ArrayMethodKind.Address ||
+ arrayMethod.Kind == ArrayMethodKind.Get ||
+ arrayMethod.Kind == ArrayMethodKind.Set ||
arrayMethod.Kind == ArrayMethodKind.Ctor);
}
@@ -279,7 +277,7 @@ namespace ILCompiler
if (ta.IsInterface)
{
//
- // Both classes are interfaces. Check that if one
+ // Both classes are interfaces. Check that if one
// interface extends the other.
//
// Does tb extend ta ?