Skip to content

Commit de37e06

Browse files
Change namespace to Microsoft.Android.Runtime
1 parent 1ff27e4 commit de37e06

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

src/Microsoft.Android.Runtime.NativeAOT/Android.Runtime.NativeAOT/JavaInteropRuntime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Java.Interop;
33
using System.Runtime.InteropServices;
44

5-
namespace Android.Runtime.NativeAOT;
5+
namespace Microsoft.Android.Runtime;
66

77
static class JavaInteropRuntime
88
{

src/Microsoft.Android.Runtime.NativeAOT/Android.Runtime.NativeAOT/Logging.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Runtime.InteropServices;
77
using System.Text;
88

9-
namespace Android.Runtime.NativeAOT;
9+
namespace Microsoft.Android.Runtime;
1010

1111
internal sealed class LogcatTextWriter : TextWriter {
1212

src/Microsoft.Android.Runtime.NativeAOT/Android.Runtime.NativeAOT/NativeAotTypeManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Java.Interop;
44
using Java.Interop.Tools.TypeNameMappings;
55

6-
namespace Android.Runtime.NativeAOT;
6+
namespace Microsoft.Android.Runtime;
77

88
partial class NativeAotTypeManager : JniRuntime.JniTypeManager {
99

src/Microsoft.Android.Runtime.NativeAOT/Android.Runtime.NativeAOT/NativeAotValueManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
using Android.Runtime;
1515
using Java.Interop;
1616

17-
namespace Android.Runtime.NativeAOT;
17+
namespace Microsoft.Android.Runtime;
1818

1919
class NativeAotValueManager : JniRuntime.JniValueManager
2020
{

src/Microsoft.Android.Runtime.NativeAOT/Java.Interop/JreRuntime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using System.Reflection;
1111
using System.Runtime.InteropServices;
1212
using System.Threading;
13-
using Android.Runtime.NativeAOT;
13+
using Microsoft.Android.Runtime;
1414

1515
namespace Java.Interop {
1616

src/Microsoft.Android.Runtime.NativeAOT/Microsoft.Android.Runtime.NativeAOT.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1111
<SignAssembly>true</SignAssembly>
1212
<OutputPath>$(_MonoAndroidNETDefaultOutDir)</OutputPath>
13+
<RootNamespace>Microsoft.Android.Runtime</RootNamespace>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

src/Microsoft.Android.Sdk.ILLink/TypeMappingStep.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.Android.Sdk.ILLink;
1515
public class TypeMappingStep : BaseStep
1616
{
1717
const string AssemblyName = "Microsoft.Android.Runtime.NativeAOT";
18-
const string TypeName = "Android.Runtime.NativeAOT.NativeAotTypeManager";
18+
const string TypeName = "Microsoft.Android.Runtime.NativeAotTypeManager";
1919
readonly IDictionary<string, TypeDefinition> TypeMappings = new Dictionary<string, TypeDefinition> (StringComparer.Ordinal);
2020
AssemblyDefinition? MicrosoftAndroidRuntimeNativeAot;
2121

@@ -68,7 +68,7 @@ protected override void EndProcess ()
6868
var getTypeFromHandle = module.ImportReference (typeof (Type).GetMethod ("GetTypeFromHandle"));
6969
foreach (var (javaKey, typeDefinition) in TypeMappings) {
7070
/*
71-
* IL_0000: ldsfld class [System.Runtime]System.Collections.Generic.IDictionary`2<string, class [System.Runtime]System.Type> Android.Runtime.NativeAOT.NativeAotTypeManager::TypeMappings
71+
* IL_0000: ldsfld class [System.Runtime]System.Collections.Generic.IDictionary`2<string, class [System.Runtime]System.Type> Microsoft.Android.Runtime.NativeAotTypeManager::TypeMappings
7272
* IL_0005: ldstr "android/app/Activity"
7373
* IL_000a: ldtoken [Mono.Android]Android.App.Activity
7474
* IL_000f: call class [System.Runtime]System.Type [System.Runtime]System.Type::GetTypeFromHandle(valuetype [System.Runtime]System.RuntimeTypeHandle)

0 commit comments

Comments
 (0)