Skip to content

Commit b3a8ec0

Browse files
author
Ron Petrusha
authored
Added ArgumentException for no MarkLabel call (#3292)
1 parent 66ce293 commit b3a8ec0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xml/System.Reflection.Emit/TypeBuilder.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@
506506
-or-
507507

508508
This type is not an abstract class or an interface and has a method without a method body.</exception>
509+
<exception cref="T:System.ArgumentException">Bad label content in <see cref="T:System.Reflection.Emit.ILGenerator" />: You have defined a label without calling <see cref="M:System.Reflection.Emit.ILGenerator.MarkLabel(System.Reflection.Emit.Label)" />.</exception>
509510
<exception cref="T:System.NotSupportedException">The type contains invalid Microsoft intermediate language (MSIL) code.
510511

511512
-or-

0 commit comments

Comments
 (0)