AssemblyDefinition a = AssemblyDefinition.ReadAssembly(fileName);
foreach (CustomAttribute attribute in a.CustomAttributes)
{
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, fileversion);
}
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, fileDsc);
}
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, comments);
}
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, compname);
}
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, prodname);
}
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, prodname);
}
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, copyright);
}
{
attribute.ConstructorArguments[0] =
new CustomAttributeArgument(a.MainModule.TypeSystem.String, a.Name);