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