Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit a2d4a32

Browse files
committed
Refresh System.Runtime ref from System.Private.CoreLib in Coreclr
This also includes an update to the genapi tool that includes the necessary private fields in structs to enable the compiler to do correctness checks. See https://github.com/dotnet/corefx/issues/6185.
1 parent 295af99 commit a2d4a32

File tree

3 files changed

+100
-32
lines changed

3 files changed

+100
-32
lines changed

src/System.Runtime/ref/System.Runtime.Manual.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ namespace System.Reflection
4444
// In the meantime, these will be exposed via wrapper factory methods in System.Private.Reflection.Extensibility.
4545
public partial struct CustomAttributeNamedArgument
4646
{
47-
internal CustomAttributeNamedArgument(Type attributeType, string memberName, bool isField, CustomAttributeTypedArgument typedValue) { }
47+
internal CustomAttributeNamedArgument(Type attributeType, string memberName, bool isField, CustomAttributeTypedArgument typedValue) { throw null; }
4848
}
4949
}

0 commit comments

Comments
 (0)