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