diff --git a/Mirror/Weaver/Weaver.cs b/Mirror/Weaver/Weaver.cs index 92d1a8b96..46d3f0f1e 100644 --- a/Mirror/Weaver/Weaver.cs +++ b/Mirror/Weaver/Weaver.cs @@ -1463,7 +1463,7 @@ public static bool IsDerivedFrom(TypeDefinition td, TypeReference baseClass) return false; } - static public bool ImplementsInterface(TypeDefinition td, TypeReference baseInterface) + public static bool ImplementsInterface(TypeDefinition td, TypeReference baseInterface) { TypeDefinition typedef = td; @@ -1491,7 +1491,7 @@ static public bool ImplementsInterface(TypeDefinition td, TypeReference baseInte return false; } - static public bool IsValidTypeToGenerate(TypeDefinition variable) + public static bool IsValidTypeToGenerate(TypeDefinition variable) { // a valid type is a simple class or struct. so we generate only code for types we dont know, and if they are not inside // this assembly it must mean that we are trying to serialize a variable outside our scope. and this will fail.