本文整理汇总了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);
}
示例2: MutateHoistedGenericType
public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
{
if (!TypeManager.IsGenericTypeDefinition (typearg))
typearg = storey.MutateType (typearg);
}
示例3: MutateHoistedGenericType
public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
{
enumerator_type = storey.MutateType (enumerator_type);
init.MutateHoistedGenericType (storey);
loop.MutateHoistedGenericType (storey);
}
示例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);
}
}
示例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);
}
}
示例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);
}
示例7: MutateHoistedGenericType
public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
{
source.MutateHoistedGenericType (storey);
target.MutateHoistedGenericType (storey);
type = storey.MutateType (type);
}