private IType CalculateLocalType()
 {
     return(MetadataModuleAdapter.SubstituteTypeSymbolIfNeeded(this.localInfo.Type, this.GenericContext)
            .ToAdapter(this.localInfo.IsByRef, this.localInfo.IsPinned));
 }
Пример #2
0
 /// <summary>
 /// </summary>
 /// <param name="genericContext">
 /// </param>
 /// <returns>
 /// </returns>
 public IMethod ToSpecialization(IGenericContext genericContext)
 {
     return(MetadataModuleAdapter.SubstituteMethodSymbolIfNeeded(this.methodDef, genericContext).ToAdapter());
 }