diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-09-24 01:03:08 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-09-24 21:06:06 +0300 |
commit | c4aa67cbd9b37b5f6e290ad7b90ae2ad217adb84 (patch) | |
tree | 22313577a5b5487d2be3e9015c52e26c7b621315 /netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs | |
parent | 639f30f99b8f4fad81324c10f498fbd95ebbe6f5 (diff) |
Change several internal/private instance methods to be static (#26835)
* Replace ToLower(CultureInfo.InvariantCulture) with ToLowerInvariant()
* Mark several members static
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs')
-rw-r--r-- | netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs index 7d18f5779b5..db6a7942349 100644 --- a/netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs +++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs @@ -604,7 +604,7 @@ namespace System.Runtime.Loader return null; } - private Assembly ValidateAssemblyNameWithSimpleName(Assembly assembly, string? requestedSimpleName) + private static Assembly ValidateAssemblyNameWithSimpleName(Assembly assembly, string? requestedSimpleName) { // Get the name of the loaded assembly string? loadedSimpleName = null; |