コード例 #1
0
ファイル: Code.cs プロジェクト: REALTOBIZ/mono
		/// <summary>
		/// Add an instruction with a type parameter
		/// </summary>
		/// <param name="inst">the CIL instruction</param>
		/// <param name="t">the type argument for the CIL instruction</param>
		public void TypeInst(TypeOp inst, Type aType) 
		{
			AddToBuffer(new TypeInstr((int)inst,aType,metaData));
		}
コード例 #2
0
ファイル: PERWAPI.cs プロジェクト: nomit007/f4
 /// <summary>
 /// Add an instruction with a type parameter
 /// </summary>
 /// <param name="inst">the CIL instruction</param>
 /// <param name="aType">the type argument for the CIL instruction</param>
 public void TypeInst(TypeOp inst, Type aType)
 {
     Debug.Assert(aType != null);
     if (aType is ClassDef) {
         if (((ClassDef)aType).GetScope() != thisMeth.GetScope())
             throw new DescriptorException();
     }
     AddToBuffer(new TypeInstr(inst,aType));
 }
コード例 #3
0
 /// <summary>
 /// Add an instruction with a type parameter
 /// </summary>
 /// <param name="inst">the CIL instruction</param>
 /// <param name="t">the type argument for the CIL instruction</param>
 public void TypeInst(TypeOp inst, Type aType)
 {
     AddToBuffer(new TypeInstr((int)inst, aType, metaData));
 }
コード例 #4
0
ファイル: PERWAPI.cs プロジェクト: nomit007/f4
 /*-------------------- Constructors ---------------------------------*/
 public TypeInstr(TypeOp inst, Type aType)
     : base((uint)inst)
 {
     theType = aType;
     size += 4;
 }
コード例 #5
0
ファイル: OperationForm.cs プロジェクト: vaginessa/NetworkADB
 public OperationForm(TypeOp type)
 {
     OperationType = type;
     InitializeComponent();
 }