[nnyeah] Namespace change (#14710)
`nnyeah` -> `Microsoft.MaciOS.Nnyeah`
This commit is contained in:
Родитель
0c1b7fb74b
Коммит
a2624f6515
|
@ -2,7 +2,7 @@ using System;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public abstract class BaseTransformEventArgs : EventArgs {
|
||||
public BaseTransformEventArgs (string containerName, string methodName, string targetOperand)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System;
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public enum TransformationAction {
|
||||
Remove,
|
||||
Replace,
|
||||
|
|
|
@ -5,7 +5,7 @@ using Mono.Cecil.Cil;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public class FieldTransformations {
|
||||
static Dictionary<string, Transformation>? allTransforms;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ using Mono.Cecil.Cil;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public class MethodTransformations {
|
||||
static List<Transformation>? allTransforms;
|
||||
static Dictionary<string, Transformation>? transformTable;
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
class Program {
|
||||
static void Main (string [] args)
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@ using System.Diagnostics.CodeAnalysis;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public class Reworker {
|
||||
Stream stm;
|
||||
ModuleDefinition module = EmptyModule;
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Text;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public class TransformEventArgs : BaseTransformEventArgs {
|
||||
public TransformEventArgs (string containerName, string methodName, string targetOperand, uint addedCount, uint removedCount)
|
||||
: base (containerName, methodName, targetOperand)
|
||||
|
|
|
@ -5,7 +5,7 @@ using Mono.Cecil.Cil;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public class Transformation {
|
||||
static List<Instruction> emptyInstructions = new List<Instruction> ();
|
||||
public Transformation (string operand, TransformationAction action, List<Instruction> instructions)
|
||||
|
|
|
@ -2,7 +2,7 @@ using System;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace nnyeah {
|
||||
namespace Microsoft.MaciOS.Nnyeah {
|
||||
public class WarningEventArgs : BaseTransformEventArgs {
|
||||
public WarningEventArgs (string containerName, string methodName, string targetOperand, string message)
|
||||
: base (containerName, methodName, targetOperand)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>Microsoft.MaciOS.Nnyeah</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Загрузка…
Ссылка в новой задаче