Skip to content

Commit c6f266d

Browse files
committed
Small updates to make it look better
1 parent 2f07f00 commit c6f266d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

xml/System.Reflection.Emit/AssemblyBuilder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
For more information about this API, see [Supplemental API remarks for AssemblyBuilder](/dotnet/fundamentals/runtime-libraries/system-reflection-emit-assemblybuilder).
8585
8686
> [!WARNING]
87-
> `AssemblyBuilder` APIs require a fully trusted environment with trusted input, similarly as other technologies such as compilers. There are no restrictions other than basic validation for generated IL, for member name, count and associated metadata such as custom attributes, that the AssemblyBuilder can contain. For example untrusted input that directly affects the produced IL written to an assembly that later loaded and executed, such input can do whatever it wishes.
87+
> `AssemblyBuilder` APIs require a fully trusted environment with trusted input, similarly as other technologies such as compilers. There are no restrictions other than basic validation for generated IL, for member name, count and associated metadata such as custom attributes, that the AssemblyBuilder can contain.
8888
]]>
8989
</format>
9090
</remarks>

xml/System.Reflection.Emit/ILGenerator.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
> - IL can be invalid such as not having a balanced push vs. pop opcodes, or invalid operands for a given opcode.
9191
> - Can contain any code that may, for example, deadlock, have infinite stack recursion, or have an infinite loop.
9292
> - IL can load and execute code on any other reachable assembly.
93+
>
9394
> Such code can do whatever it wishes when the method is loaded and executed. To restrict such vulnerabilities `ILGenerator` require a fully trusted environment with trusted input.
9495
]]></format>
9596
</remarks>

xml/System.Reflection.Emit/PersistedAssemblyBuilder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
For more information about this API, see [Persisted dynamic assemblies in .NET](/dotnet/fundamentals/runtime-libraries/system-reflection-emit-persistedassemblybuilder).
3434
3535
> [!WARNING]
36-
> `PersistedAssemblyBuilder` APIs require a fully trusted environment with trusted input, similarly as other technologies such as compilers. There are no restrictions other than basic validation for generated IL, for member name, count and associated metadata such as custom attributes, that the AssemblyBuilder can contain. For example untrusted input that directly affects the produced IL written to an assembly that later loaded and executed, such input can do whatever it wishes.
36+
> `PersistedAssemblyBuilder` APIs require a fully trusted environment with trusted input, similarly as other technologies such as compilers. There are no restrictions other than basic validation for generated IL, for member name, count and associated metadata such as custom attributes, that the AssemblyBuilder can contain.
3737
]]></format>
3838
</remarks>
3939
</Docs>

0 commit comments

Comments
 (0)