SymbolResolvingFailedException.cs 792 B

1234567891011121314151617
  1. #if ENABLE_MONO && (DEVELOPMENT_BUILD || UNITY_EDITOR)
  2. using System;
  3. using SingularityGroup.HotReload.DTO;
  4. namespace SingularityGroup.HotReload {
  5. internal class SymbolResolvingFailedException : Exception {
  6. public SymbolResolvingFailedException(SMethod m, Exception inner)
  7. : base($"Unable to resolve method {m.displayName} in assembly {m.assemblyName}", inner) { }
  8. public SymbolResolvingFailedException(SType t, Exception inner)
  9. : base($"Unable to resolve type with name: {t.typeName} in assembly {t.assemblyName}", inner) { }
  10. public SymbolResolvingFailedException(SField t, Exception inner)
  11. : base($"Unable to resolve field with name: {t.fieldName} in assembly {t.assemblyName}", inner) { }
  12. }
  13. }
  14. #endif