CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
field_attributes.h
1
2#pragma once
3
4#include "system/enum_helpers.h"
5
6namespace System { namespace Reflection {
7
10{
12 FieldAccessMask = 0x0007,
14 PrivateScope = 0x0000,
16 Private = 0x0001,
18 FamANDAssem = 0x0002,
20 Assembly = 0x0003,
22 Family = 0x0004,
24 FamORAssem = 0x0005,
26 Public = 0x0006,
27 // end member access mask
28
30 Static = 0x0010,
32 InitOnly = 0x0020,
34 Literal = 0x0040,
36 NotSerialized = 0x0080,
37
39 SpecialName = 0x0200,
41 PinvokeImpl = 0x2000,
42
44 ReservedMask = 0x9500,
46 RTSpecialName = 0x0400,
48 HasFieldMarshal = 0x1000,
50 HasDefault = 0x8000,
52 HasFieldRVA = 0x0100,
53};
54
57DECLARE_ENUM_OPERATORS(System::Reflection::FieldAttributes);
59DECLARE_USING_GLOBAL_OPERATORS
61}} // namespace System::Reflection
62
64DECLARE_USING_ENUM_OPERATORS(System::Reflection);
Reflection class describing assembly. Support is limited as the rules are quite different between C# ...
Definition: assembly.h:21
Definition: stack_frame.h:13
@ Public
Look through public members.
@ Static
Look through static members.
FieldAttributes
Reflected field attributes.
Definition: field_attributes.h:10
@ ReservedMask
Reserved flags for runtime use only.
@ FamANDAssem
Private and assembly-scoped members.
@ FieldAccessMask
Member access mask. Use this mask to retrieve accessibility information.
@ PrivateScope
Non-referancable members.
@ FamORAssem
Members accessible by type, sub-types and assembly.
@ PinvokeImpl
Interop forwarded implementation.
@ RTSpecialName
Runtim eshould check name encoding.
@ HasFieldMarshal
Marshalling information is present.
@ NotSerialized
Not serialized members.
@ HasDefault
Default value is present.
@ Family
Members accessible by type and subtypes.
@ SpecialName
Special field of one of the below names.
@ InitOnly
Const members that can only be initialized but not changed.
Definition: db_command.h:9