diff options
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs b/src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs new file mode 100644 index 000000000..bdf53ad12 --- /dev/null +++ b/src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections.Generic; + +namespace System.Reflection +{ + public class MethodBody + { + protected MethodBody() { } + public virtual int LocalSignatureMetadataToken => 0; + public virtual IList<LocalVariableInfo> LocalVariables => throw new ArgumentNullException("array"); + public virtual int MaxStackSize => 0; + public virtual bool InitLocals => false; + public virtual byte[] GetILAsByteArray() => null; + public virtual IList<ExceptionHandlingClause> ExceptionHandlingClauses => throw new ArgumentNullException("array"); + } +} + |