PseudoCustomAttributes.KnownAttributes.cs (17)
101Enum4(DllImportCallingConvention, InteropNamespace + ".CallingConvention"),
102Enum4(DllImportCharSet, InteropNamespace + ".CharSet"),
118Enum4(MarshalArraySubType, InteropNamespace + ".UnmanagedType"),
119Enum4(MarshalSafeArraySubType, InteropNamespace + ".VarEnum"),
133Enum4(StructLayoutCharSet, InteropNamespace + ".CharSet"),
147new(KnownAttributeKind.DllImport, InteropNamespace, "DllImportAttribute", CaTargets.MethodDef,
151new(KnownAttributeKind.ComImport, InteropNamespace, "ComImportAttribute", CaTargets.TypeDef),
170new(KnownAttributeKind.MarshalAs1, InteropNamespace, "MarshalAsAttribute", MarshalTargets,
175new(KnownAttributeKind.MarshalAs2, InteropNamespace, "MarshalAsAttribute", MarshalTargets,
179new(KnownAttributeKind.PreserveSig, InteropNamespace, "PreserveSigAttribute", CaTargets.MethodDef),
181new(KnownAttributeKind.In, InteropNamespace, "InAttribute", InOutTargets),
183new(KnownAttributeKind.Out, InteropNamespace, "OutAttribute", InOutTargets),
185new(KnownAttributeKind.Optional, InteropNamespace, "OptionalAttribute", InOutTargets),
187new(KnownAttributeKind.StructLayout1, InteropNamespace, "StructLayoutAttribute", CaTargets.TypeDef,
192new(KnownAttributeKind.StructLayout2, InteropNamespace, "StructLayoutAttribute", CaTargets.TypeDef,
196new(KnownAttributeKind.FieldOffset, InteropNamespace, "FieldOffsetAttribute", CaTargets.FieldDef,
201new(KnownAttributeKind.WindowsRuntimeImport, InteropNamespace + ".WindowsRuntime",