diff --git a/xml/System.CodeDom.Compiler/CodeDomProvider.xml b/xml/System.CodeDom.Compiler/CodeDomProvider.xml index e8c97a757f8..7fd14bb90ae 100644 --- a/xml/System.CodeDom.Compiler/CodeDomProvider.xml +++ b/xml/System.CodeDom.Compiler/CodeDomProvider.xml @@ -156,10 +156,14 @@ > [!NOTE] > In the .NET Framework versions 1.0 and 1.1, this method is provided by the implementation that is returned by the method of the provider. In version 2.0, this method can be called directly on the code provider even if it is not overridden by the code provider. If the code provider does not override this method, the implementation is called by the base class. + +> [!NOTE] +> On .NET Core and .NET 5+, calls to the `CodeDomProvider.CompileAssemblyFromDom` method throw a . Compile code is not supported. ]]> Neither this method nor the method is overridden in a derived class. + .NET Core and .NET 5+ only: In all cases. If you override this method, you must not call the corresponding method of the base class. The base-class method creates a generator in the derived class using the obsolete method for compatibility with preexisting providers that use code compilers. The base-class method then calls the equivalent method in the implementation to perform this function. You will get a if you call the base-class method from a code provider that does not use a code compiler. @@ -215,10 +219,14 @@ > [!NOTE] > In the .NET Framework versions 1.0 and 1.1, this method is provided by the implementation that is returned by the method of the provider. In version 2.0, this method can be called directly on the code provider even if it is not overridden by the code provider. If the code provider does not override this method, the implementation is called by the base class. - + +> [!NOTE] +> On .NET Core and .NET 5+, calls to the `CodeDomProvider.CompileAssemblyFromFile` method throw a . Compile from file is not supported. + ]]> Neither this method nor the method is overridden in a derived class. + .NET Core and .NET 5+ only: In all cases. If you override this method, you must not call the corresponding method of the base class. The base-class method creates a generator in the derived class using the obsolete method for compatibility with preexisting providers that use code compilers. The base-class method then calls the equivalent method in the implementation to perform this function. You will get a if you call the base-class method from a code provider that does not use a code compiler. @@ -273,10 +281,14 @@ > [!NOTE] > In the .NET Framework versions 1.0 and 1.1, this method is provided by the implementation that is returned by the method of the provider. In version 2.0, this method can be called directly on the code provider even if it is not overridden by the code provider. If the code provider does not override this method, the implementation is called by the base class. - + +> [!NOTE] +> On .NET Core and .NET 5+, calls to the `CodeDomProvider.CompileAssemblyFromSource` method throw a . Compile source code is not supported. + ]]> Neither this method nor the method is overridden in a derived class. + .NET Core and .NET 5+ only: In all cases. If you override this method, you must not call the corresponding method of the base class. The base-class method creates a generator in the derived class using the obsolete method for compatibility with preexisting providers that use code compilers. The base-class method then calls the equivalent method in the implementation to perform this function. You will get a if you call the base-class method from a code provider that does not use a code compiler. diff --git a/xml/System.Configuration/RsaProtectedConfigurationProvider.xml b/xml/System.Configuration/RsaProtectedConfigurationProvider.xml index 13d9c62593c..d84fc8e6bb4 100644 --- a/xml/System.Configuration/RsaProtectedConfigurationProvider.xml +++ b/xml/System.Configuration/RsaProtectedConfigurationProvider.xml @@ -35,6 +35,9 @@ > [!NOTE] > Before ASP.NET can decrypt encrypted information in your configuration file, the identity of your ASP.NET application must have read access to the encryption key used to encrypt and decrypt the configuration data. For more information, see [Walkthrough: Encrypting Configuration Information Using Protected Configuration](https://docs.microsoft.com/previous-versions/dtkwfdky(v=vs.140)). +> [!NOTE] +> On .NET Core and .NET 5+, the type is not supported. All APIs throw a at run time. + ## Examples The following example shows how to use the standard to protect or unprotect a configuration section. diff --git a/xml/System.Text.RegularExpressions/Regex.xml b/xml/System.Text.RegularExpressions/Regex.xml index 3043bcba79d..e88e8a8f660 100644 --- a/xml/System.Text.RegularExpressions/Regex.xml +++ b/xml/System.Text.RegularExpressions/Regex.xml @@ -913,7 +913,8 @@ ## Remarks -On .NET Core, calls to the `Regex.CompileToAssembly` method throw a ; writing out an assembly is not supported. +> [!NOTE] +> On .NET Core and .NET 5+, calls to the `Regex.CompileToAssembly` method throw a . Writing out an assembly is not supported. ]]>