本文整理匯總了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);
}