Added more pseudo custom attributes to the list.

This commit is contained in:
jfrijters 2008-11-25 05:02:27 +00:00
Родитель 083b5ebd71
Коммит 839a34c040
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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);
}
}