Skip to content

Commit d679780

Browse files
committed
Make reentryGuard ThreadStatic
1 parent 6886e6e commit d679780

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Mono.Cecil/ExportedType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public sealed class ExportedType : IMetadataTokenProvider {
2222
int identifier;
2323
ExportedType declaring_type;
2424
internal MetadataToken token;
25-
bool reentrancyGuard;
25+
[ThreadStatic]
26+
static bool reentrancyGuard;
2627

2728
public string Namespace {
2829
get { return @namespace; }

0 commit comments

Comments
 (0)