diff options
Diffstat (limited to 'src/coreclr/tools/Common/TypeSystem/Interop/IL/NativeStructType.cs')
-rw-r--r-- | src/coreclr/tools/Common/TypeSystem/Interop/IL/NativeStructType.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/coreclr/tools/Common/TypeSystem/Interop/IL/NativeStructType.cs b/src/coreclr/tools/Common/TypeSystem/Interop/IL/NativeStructType.cs index 477d5c8168b..9f5ee9edcb9 100644 --- a/src/coreclr/tools/Common/TypeSystem/Interop/IL/NativeStructType.cs +++ b/src/coreclr/tools/Common/TypeSystem/Interop/IL/NativeStructType.cs @@ -161,7 +161,7 @@ namespace Internal.TypeSystem.Interop } [ThreadStatic] - static Stack<MetadataType> s_typesBeingLookedAt; + private static Stack<MetadataType> s_typesBeingLookedAt; public NativeStructType(ModuleDesc owningModule, MetadataType managedStructType, InteropStateManager interopStateManager) { @@ -190,7 +190,6 @@ namespace Internal.TypeSystem.Interop private void CalculateFields() { - bool isSequential = ManagedStructType.IsSequentialLayout; bool isAnsi = ManagedStructType.PInvokeStringFormat == PInvokeStringFormat.AnsiClass; int numFields = 0; |