當前位置: 首頁>>代碼示例>>C#>>正文


C# AnonymousMethodStorey.MutateType方法代碼示例

本文整理匯總了C#中Mono.CSharp.AnonymousMethodStorey.MutateType方法的典型用法代碼示例。如果您正苦於以下問題:C# AnonymousMethodStorey.MutateType方法的具體用法?C# AnonymousMethodStorey.MutateType怎麽用?C# AnonymousMethodStorey.MutateType使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Mono.CSharp.AnonymousMethodStorey的用法示例。


在下文中一共展示了AnonymousMethodStorey.MutateType方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: MutateHoistedGenericType

		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			if (InstanceExpression != null)
				InstanceExpression.MutateHoistedGenericType (storey);

			type = storey.MutateType (type);
			if (getter != null)
				getter = storey.MutateGenericMethod (getter);
			if (setter != null)
				setter = storey.MutateGenericMethod (setter);
		}
開發者ID:lewurm,項目名稱:benchmarker,代碼行數:11,代碼來源:ecore.cs

示例2: MutateHoistedGenericType

		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			if (!TypeManager.IsGenericTypeDefinition (typearg))
				typearg = storey.MutateType (typearg);
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:5,代碼來源:expression.cs

示例3: MutateHoistedGenericType

			public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
			{
				enumerator_type = storey.MutateType (enumerator_type);
				init.MutateHoistedGenericType (storey);
				loop.MutateHoistedGenericType (storey);
			}
開發者ID:lewurm,項目名稱:benchmarker,代碼行數:6,代碼來源:statement.cs

示例4: MutateHoistedGenericType

		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			array_element_type = storey.MutateType (array_element_type);
			type = storey.MutateType (type);
			if (arguments != null) {
				foreach (Argument a in arguments)
					a.Expr.MutateHoistedGenericType (storey);
			}
			
			if (array_data != null) {
				foreach (Expression e in array_data)
					e.MutateHoistedGenericType (storey);
			}
		}
開發者ID:lewurm,項目名稱:benchmarker,代碼行數:14,代碼來源:expression.cs

示例5: MutateVariables

		void MutateVariables (AnonymousMethodStorey storey)
		{
			if (variables != null) {
				foreach (LocalInfo vi in variables.Values) {
					vi.VariableType = storey.MutateType (vi.VariableType);
				}
			}

			if (temporary_variables != null) {
				foreach (LocalInfo vi in temporary_variables)
					vi.VariableType = storey.MutateType (vi.VariableType);
			}
		}
開發者ID:lewurm,項目名稱:benchmarker,代碼行數:13,代碼來源:statement.cs

示例6: MutateHoistedGenericType

		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			method = storey.MutateGenericMethod (method);
			type = storey.MutateType (type);

			if (Arguments != null)
				Arguments.MutateHoistedGenericType (storey);

			InstanceExpr.MutateHoistedGenericType (storey);
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:10,代碼來源:delegate.cs

示例7: MutateHoistedGenericType

		public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
		{
			source.MutateHoistedGenericType (storey);
			target.MutateHoistedGenericType (storey);
			type = storey.MutateType (type);			
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:6,代碼來源:assign.cs


注:本文中的Mono.CSharp.AnonymousMethodStorey.MutateType方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。