зеркало из https://github.com/mono/ikvm-fork.git
Added more pseudo custom attributes to the list.
This commit is contained in:
Родитель
083b5ebd71
Коммит
839a34c040
|
@ -409,6 +409,10 @@ namespace IKVM.Reflection.Emit
|
|||
Type type = con.DeclaringType;
|
||||
return type == typeof(AssemblyFlagsAttribute)
|
||||
|| type == typeof(AssemblyAlgorithmIdAttribute)
|
||||
|| type == typeof(AssemblyVersionAttribute)
|
||||
|| type == typeof(AssemblyKeyFileAttribute)
|
||||
|| type == typeof(AssemblyKeyNameAttribute)
|
||||
|| type == typeof(AssemblyCultureAttribute)
|
||||
|| type == typeof(DllImportAttribute)
|
||||
|| type == typeof(FieldOffsetAttribute)
|
||||
|| type == typeof(InAttribute)
|
||||
|
@ -420,8 +424,9 @@ namespace IKVM.Reflection.Emit
|
|||
|| type == typeof(SerializableAttribute)
|
||||
|| type == typeof(OptionalAttribute)
|
||||
|| type == typeof(PreserveSigAttribute)
|
||||
|| type == typeof(AssemblyVersionAttribute)
|
||||
|| type == typeof(ComImportAttribute)
|
||||
|| type == typeof(TypeForwardedToAttribute)
|
||||
|| type == typeof(SpecialNameAttribute)
|
||||
|| type == typeof(DefaultParameterValueAttribute);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче