当前位置: 首页>>代码示例>>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;未经允许,请勿转载。