From 22c97de71a56302da550dfe7356643f4adc4ca4e Mon Sep 17 00:00:00 2001 From: vis2k Date: Tue, 1 Jan 2019 16:34:10 +0100 Subject: [PATCH] Syntax --- Mirror/Weaver/Weaver.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.