You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Reflection/Assembly.xml
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3628,7 +3628,11 @@ This property is marked obsolete starting in .NET 5, and generates a compile-tim
3628
3628
</ReturnValue>
3629
3629
<Docs>
3630
3630
<summary>Gets the host context with which the assembly was loaded.</summary>
3631
-
<value>An <see cref="T:System.Int64" /> value that indicates the host context with which the assembly was loaded, if any.</value>
3631
+
<value>
3632
+
.NET Framework only: An <see cref="T:System.Int64" /> value that indicates the host context with which the assembly was loaded, if any.
3633
+
3634
+
.NET Core and 5+: 0 in all cases.
3635
+
</value>
3632
3636
<remarks>To be added.</remarks>
3633
3637
</Docs>
3634
3638
</Member>
@@ -3901,7 +3905,10 @@ This property is marked obsolete starting in .NET 5, and generates a compile-tim
3901
3905
<Docs>
3902
3906
<summary>Gets a value that indicates whether the current assembly is loaded with full trust.</summary>
3903
3907
<value>
3904
-
<see langword="true" /> if the current assembly is loaded with full trust; otherwise, <see langword="false" />.</value>
3908
+
.NET Framework only: <see langword="true" /> if the current assembly is loaded with full trust; otherwise, <see langword="false" />.</value>
3909
+
3910
+
.NET Core and 5+: <see langword="true" /> in all cases.
3911
+
</value>
3905
3912
<remarks>To be added.</remarks>
3906
3913
</Docs>
3907
3914
</Member>
@@ -6323,14 +6330,16 @@ In .NET 5 and later versions, for bundled assemblies, the value returned is an e
6323
6330
</ReturnValue>
6324
6331
<Docs>
6325
6332
<summary>Gets a value that indicates which set of security rules the common language runtime (CLR) enforces for this assembly.</summary>
6326
-
<value>The security rule set that the CLR enforces for this assembly.</value>
6333
+
<value>
6334
+
.NET Framework only: The security rule set that the CLR enforces for this assembly.
6335
+
6336
+
.NET Core and 5+: <xref:System.Security.SecurityRuleSet.None?displayProperty=nameWithType> in all cases.
6337
+
</value>
6327
6338
<remarks>
6328
6339
<format type="text/markdown">< transparency, although you can explicitly make them [level 1](/dotnet/framework/misc/security-transparent-code-level-1) instead. Assemblies that were compiled with earlier versions of the .NET Framework have level 1 transparency.
6332
-
6333
-
See [Security Changes](/dotnet/framework/security/security-changes).
6342
+
**.NET Framework only:** By default, assemblies that you compile with the .NET Framework 4 have [level 2](/dotnet/framework/misc/security-transparent-code-level-2) transparency, although you can explicitly make them [level 1](/dotnet/framework/misc/security-transparent-code-level-1) instead. Assemblies that were compiled with earlier versions of the .NET Framework have level 1 transparency. See [Security Changes](/dotnet/framework/security/security-changes).
0 commit comments