This commit is contained in:
vis2k 2019-01-01 16:34:10 +01:00
parent 4d76ac5301
commit 22c97de71a

View File

@ -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.