예제 #1
0
 private Exception resolve_token_exception(int metadataToken, ResolveTokenError error, string tokenType)
 {
     if (error == ResolveTokenError.OutOfRange)
     {
         return(new ArgumentOutOfRangeException("metadataToken", string.Format("Token 0x{0:x} is not valid in the scope of module {1}", metadataToken, this.name)));
     }
     return(new ArgumentException(string.Format("Token 0x{0:x} is not a valid {1} token in the scope of module {2}", metadataToken, tokenType, this.name), "metadataToken"));
 }
예제 #2
0
 internal static extern string ResolveStringToken(IntPtr module, int token, out ResolveTokenError error);
예제 #3
0
 internal static extern IntPtr ResolveFieldToken(IntPtr module, int token, IntPtr[] type_args, IntPtr[] method_args, out ResolveTokenError error);
예제 #4
0
 internal static Exception resolve_token_exception(string name, int metadataToken, ResolveTokenError error, string tokenType)
 {
     if (error == ResolveTokenError.OutOfRange)
     {
         return(new ArgumentOutOfRangeException(nameof(metadataToken), string.Format("Token 0x{0:x} is not valid in the scope of module {1}", metadataToken, name)));
     }
     else
     {
         return(new ArgumentException(string.Format("Token 0x{0:x} is not a valid {1} token in the scope of module {2}", metadataToken, tokenType, name), nameof(metadataToken)));
     }
 }
예제 #5
0
파일: Module.cs 프로젝트: UCIS/mono
		internal static extern byte[] ResolveSignature (IntPtr module, int metadataToken, out ResolveTokenError error);
예제 #6
0
파일: Module.cs 프로젝트: UCIS/mono
		internal static extern MemberInfo ResolveMemberToken (IntPtr module, int token, IntPtr[] type_args, IntPtr[] method_args, out ResolveTokenError error);
예제 #7
0
파일: Module.cs 프로젝트: UCIS/mono
		internal static extern string ResolveStringToken (IntPtr module, int token, out ResolveTokenError error);
예제 #8
0
 internal static MemberInfo ResolveMemberToken(IntPtr module, int token, IntPtr[] type_args, IntPtr[] method_args, out ResolveTokenError error)
 {
     throw new System.NotImplementedException();
 }
예제 #9
0
파일: Module.cs 프로젝트: UCIS/mono
		internal Exception resolve_token_exception (int metadataToken, ResolveTokenError error, string tokenType) {
			if (error == ResolveTokenError.OutOfRange)
				return new ArgumentOutOfRangeException ("metadataToken", String.Format ("Token 0x{0:x} is not valid in the scope of module {1}", metadataToken, name));
			else
				return new ArgumentException (String.Format ("Token 0x{0:x} is not a valid {1} token in the scope of module {2}", metadataToken, tokenType, name), "metadataToken");
		}
예제 #10
0
 internal static Exception resolve_token_exception(Module module, int metadataToken, ResolveTokenError error, string tokenType)
 => resolve_token_exception(module.Name, metadataToken, error, tokenType);
예제 #11
0
		internal static byte[] ResolveSignature (IntPtr module, int metadataToken, out ResolveTokenError error)
		{
			throw new System.NotImplementedException();
		}
예제 #12
0
		internal static MemberInfo ResolveMemberToken (IntPtr module, int token, IntPtr[] type_args, IntPtr[] method_args, out ResolveTokenError error)
		{
			throw new System.NotImplementedException();
		}
예제 #13
0
		internal static string ResolveStringToken (IntPtr module, int token, out ResolveTokenError error)
		{
			throw new System.NotImplementedException();
		}
예제 #14
0
 internal static byte[] ResolveSignature(IntPtr module, int metadataToken, out ResolveTokenError error)
 {
     throw new System.NotImplementedException();
 }
예제 #15
0
 internal static extern MemberInfo ResolveMemberToken(IntPtr module, int token, IntPtr[] type_args, IntPtr[] method_args, out ResolveTokenError error);
예제 #16
0
파일: Module.cs 프로젝트: UCIS/mono
		internal static extern IntPtr ResolveFieldToken (IntPtr module, int token, IntPtr[] type_args, IntPtr[] method_args, out ResolveTokenError error);
예제 #17
0
 internal static extern byte[] ResolveSignature(IntPtr module, int metadataToken, out ResolveTokenError error);
예제 #18
0
 internal static string ResolveStringToken(IntPtr module, int token, out ResolveTokenError error)
 {
     throw new System.NotImplementedException();
 }