public static void UnsealedClassWithNoProperties() { FastestTreeSerialisationNotPossibleException( () => FastestTreeBinarySerialisation.EnsureThatTypeIsOptimalForFastestTreeSerialisation(typeof(ExampleOfUnsealedClassWithNoProperties), new IFastSerialisationTypeConverter[0]), typeof(ExampleOfUnsealedClassWithNoProperties), null ); }
public static void SealedClassWithNoProperties() { FastestTreeBinarySerialisation.EnsureThatTypeIsOptimalForFastestTreeSerialisation(typeof(ExampleOfSealedClassWithNoProperties), new IFastSerialisationTypeConverter[0]); }
public static void SealedClassWithNoPropertyThatIsArrayOfNullableEnum() { FastestTreeBinarySerialisation.EnsureThatTypeIsOptimalForFastestTreeSerialisation(typeof(ExampleOfSealedClassWithNullableEnumArrayProperty), new IFastSerialisationTypeConverter[0]); }
public static void String() { FastestTreeBinarySerialisation.EnsureThatTypeIsOptimalForFastestTreeSerialisation(typeof(string), new IFastSerialisationTypeConverter[0]); }