Skip to content

Commit be22cd1

Browse files
authored
Add links to compiler options (#9981)
1 parent 30bd7c0 commit be22cd1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

xml/System.CodeDom.Compiler/CompilerParameters.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@
5959
To specify a custom command-line arguments string to use when invoking the compilation process, set the string in the <xref:System.CodeDom.Compiler.CompilerParameters.CompilerOptions%2A> property. If a Win32 security token is required to invoke the compiler process, specify the token in the <xref:System.CodeDom.Compiler.CompilerParameters.UserToken%2A> property. To include .NET Framework resource files in the compiled assembly, add the names of the resource files to the <xref:System.CodeDom.Compiler.CompilerParameters.EmbeddedResources%2A> property. To reference .NET Framework resources in another assembly, add the names of the resource files to the <xref:System.CodeDom.Compiler.CompilerParameters.LinkedResources%2A> property. To include a Win32 resource file in the compiled assembly, specify the name of the Win32 resource file in the <xref:System.CodeDom.Compiler.CompilerParameters.Win32Resource%2A> property.
6060
6161
> [!NOTE]
62-
> This class contains a link demand and an inheritance demand at the class level that applies to all members. A <xref:System.Security.SecurityException> is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands) and [Inheritance Demands](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/x4yx82e6(v=vs.100)).
63-
64-
62+
> This class contains a link demand and an inheritance demand at the class level that applies to all members. A <xref:System.Security.SecurityException> is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands) and [Inheritance Demands](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/x4yx82e6(v=vs.100)).
6563
6664
## Examples
6765
The following example builds a CodeDOM source graph for a simple Hello World program. The source is then saved to a file, compiled into an executable, and run. The `CompileCode` method illustrates how to use the <xref:System.CodeDom.Compiler.CompilerParameters> class to specify various compiler settings and options.
@@ -290,11 +288,10 @@
290288
<remarks>
291289
<format type="text/markdown"><![CDATA[
292290
293-
## Remarks
294-
An <xref:System.CodeDom.Compiler.ICodeCompiler> typically includes this string on the command line when invoking a command-line compiler. By default, this property contains an empty string.
295-
296-
297-
291+
## Remarks
292+
293+
An <xref:System.CodeDom.Compiler.ICodeCompiler> typically includes this string on the command line when invoking a command-line compiler. By default, this property contains an empty string.
294+
298295
## Examples
299296
The following example illustrates using <xref:System.CodeDom.Compiler.CompilerParameters> to specify various compiler settings and options. This code example is part of a larger example provided for the <xref:System.CodeDom.Compiler.CompilerParameters> class.
300297
@@ -304,6 +301,9 @@
304301
305302
]]></format>
306303
</remarks>
304+
<related type="Article" href="/dotnet/csharp/language-reference/compiler-options/">C# compiler options</related>
305+
<related type="Article" href="/dotnet/fsharp/language-reference/compiler-options">F# compiler options</related>
306+
<related type="Article" href="/dotnet/visual-basic/reference/command-line-compiler/compiler-options-listed-by-category">Visual Basic compiler options</related>
307307
</Docs>
308308
</Member>
309309
<Member MemberName="CoreAssemblyFileName">

0 commit comments

Comments
 (0)