Welcome to mirror list, hosted at ThFree Co, Russian Federation.

7.0-preview6_System.Reflection.md « Microsoft.NETCore.App « preview6 « api-diff « preview « 7.0 « release-notes - github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 47d76fdec3766b1d8fed4313327640c40f8a4023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# System.Reflection

``` diff
 namespace System.Reflection {
     public sealed class AssemblyName : ICloneable, IDeserializationCallback, ISerializable {
-        public string CodeBase { [RequiresAssemblyFilesAttribute("The code will return an empty string for assemblies embedded in a single-file app")] get; set; }
+        [ObsoleteAttribute("AssemblyName.CodeBase and AssemblyName.EscapedCodeBase are obsolete. Using them for loading an assembly is not supported.", DiagnosticId="SYSLIB0044", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        public string CodeBase { [RequiresAssemblyFilesAttribute("The code will return an empty string for assemblies embedded in a single-file app")] get; set; }
-        [RequiresAssemblyFilesAttribute("The code will return an empty string for assemblies embedded in a single-file app")]
-        public string EscapedCodeBase { get; }
+        [ObsoleteAttribute("AssemblyName.CodeBase and AssemblyName.EscapedCodeBase are obsolete. Using them for loading an assembly is not supported.", DiagnosticId="SYSLIB0044", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        [RequiresAssemblyFilesAttribute("The code will return an empty string for assemblies embedded in a single-file app")]
+        public string EscapedCodeBase { get; }
     }
 }
```