Browse files

Add user usable constructor to MethodSymbols

  • Loading branch information...
1 parent 2a91cd3 commit 6bcc04f6bc4753cc1d9d02320d17634c36a8449d @jbevain committed Apr 7, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 Mono.Cecil.Cil/Symbols.cs
View
7 Mono.Cecil.Cil/Symbols.cs
@@ -151,10 +151,15 @@ public sealed class MethodSymbols {
get { return local_var_token; }
}
- public MethodSymbols (string methodName)
+ internal MethodSymbols (string methodName)
{
this.method_name = methodName;
}
+
+ public MethodSymbols (MetadataToken methodToken)
+ {
+ this.method_token = methodToken;
+ }
}
public delegate Instruction InstructionMapper (int offset);

0 comments on commit 6bcc04f

Please sign in to comment.