Non shared changes
This commit is contained in:
Родитель
7902bed42a
Коммит
677a6ed3cd
|
@ -192,6 +192,9 @@
|
|||
<data name="Arg_DuplicateWaitObjectException" xml:space="preserve">
|
||||
<value>Duplicate objects in argument.</value>
|
||||
</data>
|
||||
<data name="Arg_EHClauseNotFilter" xml:space="preserve">
|
||||
<value>This ExceptionHandlingClause is not a filter.</value>
|
||||
</data>
|
||||
<data name="Arg_EnumAndObjectMustBeSameType" xml:space="preserve">
|
||||
<value>Object must be the same type as the enum. The type passed in was '{0}'; the enum type was '{1}'.</value>
|
||||
</data>
|
||||
|
|
|
@ -179,11 +179,9 @@
|
|||
<Compile Include="System\Reflection\Emit\ReflectionEmitThrower.cs" />
|
||||
<Compile Include="System\Reflection\Emit\SignatureHelper.cs" />
|
||||
<Compile Include="System\Reflection\Emit\TypeBuilder.cs" />
|
||||
<Compile Include="System\Reflection\ExceptionHandlingClause.cs" />
|
||||
<Compile Include="System\Reflection\FieldInfo.CoreRT.cs" />
|
||||
<Compile Include="System\Reflection\LegacyCustomAttributeApis.cs" />
|
||||
<Compile Include="System\Reflection\MethodBase.CoreRT.cs" />
|
||||
<Compile Include="System\Reflection\MethodBody.cs" />
|
||||
<Compile Include="System\Reflection\Runtime\CustomAttributes\RuntimeImplementedCustomAttributeData.cs" />
|
||||
<Compile Include="System\Resources\FileBasedResourceGroveler.cs" />
|
||||
<Compile Include="System\Resources\IResourceGroveler.cs" />
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
// 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.Globalization;
|
||||
|
||||
namespace System.Reflection
|
||||
{
|
||||
public class ExceptionHandlingClause
|
||||
{
|
||||
protected ExceptionHandlingClause() { }
|
||||
|
||||
// Desktop compat: These default implementations behave strangely because this class was originally
|
||||
// creatable only from the native runtime, not through subclass inheritance.
|
||||
|
||||
public virtual Type CatchType => null;
|
||||
public virtual int FilterOffset { get { throw new InvalidOperationException(); } }
|
||||
public virtual ExceptionHandlingClauseOptions Flags => default(ExceptionHandlingClauseOptions);
|
||||
public virtual int HandlerLength => 0;
|
||||
public virtual int HandlerOffset => 0;
|
||||
public virtual int TryLength => 0;
|
||||
public virtual int TryOffset => 0;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentUICulture,
|
||||
"Flags={0}, TryOffset={1}, TryLength={2}, HandlerOffset={3}, HandlerLength={4}, CatchType={5}",
|
||||
Flags, TryOffset, TryLength, HandlerOffset, HandlerLength, CatchType);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
// 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() { }
|
||||
|
||||
// Desktop compat: These default implementations behave strangely because this class was originally
|
||||
// creatable only from the native runtime, not through subclass inheritance.
|
||||
public virtual int LocalSignatureMetadataToken => 0;
|
||||
public virtual IList<LocalVariableInfo> LocalVariables { get { throw new ArgumentNullException("array"); } }
|
||||
public virtual int MaxStackSize => 0;
|
||||
public virtual bool InitLocals => false;
|
||||
public virtual byte[] GetILAsByteArray() => null;
|
||||
public virtual IList<ExceptionHandlingClause> ExceptionHandlingClauses { get { throw new ArgumentNullException("array"); } }
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче