mirror of
				https://github.com/smyalygames/monopoly.git
				synced 2025-10-31 18:37:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			983 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			983 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using Mono.CecilX;
 | |
| 
 | |
| namespace Mirror.Weaver
 | |
| {
 | |
|     [Serializable]
 | |
|     public abstract class WeaverException : Exception
 | |
|     {
 | |
|         public MemberReference MemberReference { get; }
 | |
| 
 | |
|         protected WeaverException(string message, MemberReference member) : base(message)
 | |
|         {
 | |
|             MemberReference = member;
 | |
|         }
 | |
| 
 | |
|         protected WeaverException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) : base(serializationInfo, streamingContext) { }
 | |
|     }
 | |
| 
 | |
|     [Serializable]
 | |
|     public class GenerateWriterException : WeaverException
 | |
|     {
 | |
|         public GenerateWriterException(string message, MemberReference member) : base(message, member) { }
 | |
|         protected GenerateWriterException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) : base(serializationInfo, streamingContext) { }
 | |
|     }
 | |
| }
 | 
