Beispiel #1
0
 private NamedDeserializeMethodEmitter(TypeDefinition typeDef, SerializationBridgeProvider serializationBridgeProvider) : base(typeDef, serializationBridgeProvider)
 {
     base.CreateMethodDef(this.DeserializeMethodName);
 }
Beispiel #2
0
 public static MethodDefinition DeserializeMethodDefinitionFor(TypeDefinition typeDef, SerializationBridgeProvider serializationBridgeProvider) =>
 new NamedDeserializeMethodEmitter(typeDef, serializationBridgeProvider).MethodDefinition;
Beispiel #3
0
 private SerializationWeaver(TypeDefinition typeDef, AssemblyDefinition unityEngineAssembly)
 {
     this._typeDef = typeDef;
     this._serializationBridgeProvider = new SerializationBridgeProvider(unityEngineAssembly);
 }
Beispiel #4
0
 private RemapPPtrsMethodEmitter(TypeDefinition typeDef, SerializationBridgeProvider serializationBridgeProvider) : base(typeDef, serializationBridgeProvider)
 {
     base.CreateMethodDef("Unity_RemapPPtrs");
 }
Beispiel #5
0
 protected DeserializeMethodEmitterBase(TypeDefinition typeDef, SerializationBridgeProvider serializationBridgeProvider) : base(typeDef, serializationBridgeProvider)
 {
 }
 protected MethodEmitterBase(TypeDefinition typeDef, SerializationBridgeProvider serializationBridgeProvider)
 {
     this._typeDef = typeDef;
     this._serializationBridgeProvider = serializationBridgeProvider;
 }