mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Code style and comment typo fix.
This commit is contained in:
parent
548876a9b6
commit
1fa099f402
@ -53,12 +53,11 @@ public static bool ImplementsInterface(this TypeDefinition td, TypeReference bas
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
TypeReference parent = typedef.BaseType;
|
typedef = typedef.BaseType?.Resolve();
|
||||||
typedef = parent == null ? null : parent.Resolve();
|
|
||||||
}
|
}
|
||||||
catch (AssemblyResolutionException)
|
catch (AssemblyResolutionException)
|
||||||
{
|
{
|
||||||
// this can happen for pluins.
|
// this can happen for plugins.
|
||||||
//Console.WriteLine("AssemblyResolutionException: "+ ex.ToString());
|
//Console.WriteLine("AssemblyResolutionException: "+ ex.ToString());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user