diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-07-17 20:01:37 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-07-24 10:45:03 +0300 |
commit | 4ec5b8de9808b04929f63e6bed05125d197af4ff (patch) | |
tree | 00b9a450fceda75e995080d757d2c92f4188afcb /netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs | |
parent | 0a683afa9a33b392af990fe70d4bd436023a435c (diff) |
Remove now unnecessary !s / TODO-NULLABLE comments (dotnet/coreclr#25749)
* Remove !s and TODO-NULLABLE comments for [DoesNotReturn]
* Remove !s and TODO-NULLABLE comments for [NotNullIfNotNull]
* Remove !s and TODO-NULLABLE comments for writes via Interlocked.CompareExchange
* Remove !s and TODO-NULLABLE comments for Debug.Assert on fields
* Update/add several TODO-NULLABLE comments
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 | 14 |
1 files changed, 7 insertions, 7 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 c9526862765..1c19e0971c5 100644 --- a/netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs +++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs @@ -168,7 +168,7 @@ namespace System.Runtime.Loader // // Inputs: Invoking assembly, and library name to resolve // Returns: A handle to the loaded native library - public event Func<Assembly, string, IntPtr> ResolvingUnmanagedDll + public event Func<Assembly, string, IntPtr> ResolvingUnmanagedDll // TODO-NULLABLE: Should all events use nullable delegate types? { add { @@ -186,7 +186,7 @@ namespace System.Runtime.Loader // // Inputs: The AssemblyLoadContext and AssemblyName to be loaded // Returns: The Loaded assembly object. - public event Func<AssemblyLoadContext, AssemblyName, Assembly?> Resolving + public event Func<AssemblyLoadContext, AssemblyName, Assembly?> Resolving // TODO-NULLABLE: Should all events use nullable delegate types? { add { @@ -198,7 +198,7 @@ namespace System.Runtime.Loader } } - public event Action<AssemblyLoadContext> Unloading + public event Action<AssemblyLoadContext> Unloading // TODO-NULLABLE: Should all events use nullable delegate types? { add { @@ -212,17 +212,17 @@ namespace System.Runtime.Loader #region AppDomainEvents // Occurs when an Assembly is loaded - internal static event AssemblyLoadEventHandler AssemblyLoad; + internal static event AssemblyLoadEventHandler AssemblyLoad; // TODO-NULLABLE: Should all events use nullable delegate types? // Occurs when resolution of type fails - internal static event ResolveEventHandler TypeResolve; + internal static event ResolveEventHandler TypeResolve; // TODO-NULLABLE: Should all events use nullable delegate types? // Occurs when resolution of resource fails - internal static event ResolveEventHandler ResourceResolve; + internal static event ResolveEventHandler ResourceResolve; // TODO-NULLABLE: Should all events use nullable delegate types? // Occurs when resolution of assembly fails // This event is fired after resolve events of AssemblyLoadContext fails - internal static event ResolveEventHandler AssemblyResolve; + internal static event ResolveEventHandler AssemblyResolve; // TODO-NULLABLE: Should all events use nullable delegate types? #endregion public static AssemblyLoadContext Default => DefaultAssemblyLoadContext.s_loadContext; |