diff options
Diffstat (limited to 'release-notes/7.0/preview/api-diff/preview6/Microsoft.NETCore.App/7.0-preview6_System.Reflection.md')
-rw-r--r-- | release-notes/7.0/preview/api-diff/preview6/Microsoft.NETCore.App/7.0-preview6_System.Reflection.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/preview6/Microsoft.NETCore.App/7.0-preview6_System.Reflection.md b/release-notes/7.0/preview/api-diff/preview6/Microsoft.NETCore.App/7.0-preview6_System.Reflection.md new file mode 100644 index 00000000..47d76fde --- /dev/null +++ b/release-notes/7.0/preview/api-diff/preview6/Microsoft.NETCore.App/7.0-preview6_System.Reflection.md @@ -0,0 +1,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; } + } + } +``` + |