IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IFieldSymbol.cs
Go to the documentation of this file.
1using System.Reflection;
2
4{
5
10 {
11
15 FieldAttributes Attributes { get; }
16
21
25 bool IsAssembly { get; }
26
30 bool IsFamily { get; }
31
35 bool IsFamilyAndAssembly { get; }
36
40 bool IsFamilyOrAssembly { get; }
41
45 bool IsInitOnly { get; }
46
50 bool IsLiteral { get; }
51
55 bool IsNotSerialized { get; }
56
60 bool IsPinvokeImpl { get; }
61
65 bool IsPrivate { get; }
66
70 bool IsPublic { get; }
71
75 bool IsSpecialName { get; }
76
80 bool IsStatic { get; }
81
87
93
99
100 }
101
102}
Discovers the attributes of a field and provides access to field metadata.
bool IsNotSerialized
Gets a value indicating whether this field has the NotSerialized attribute.
bool IsPublic
Gets a value indicating whether the field is public.
FieldAttributes Attributes
Gets the attributes associated with this field.
ITypeSymbol[] GetOptionalCustomModifiers()
Gets an array of types that identify the optional custom modifiers of the field.
bool IsFamilyOrAssembly
Gets a value indicating whether the potential visibility of this field is described by FieldAttribute...
ITypeSymbol[] GetRequiredCustomModifiers()
Gets an array of types that identify the required custom modifiers of the property.
bool IsPrivate
Gets a value indicating whether the field is private.
bool IsFamily
Gets a value indicating whether the visibility of this field is described by FieldAttributes....
bool IsAssembly
Gets a value indicating whether the potential visibility of this field is described by FieldAttribute...
bool IsLiteral
Gets a value indicating whether the value is written at compile time and cannot be changed.
object? GetRawConstantValue()
Returns a literal value associated with the field by a compiler.
bool IsInitOnly
Gets a value indicating whether the field can only be set in the body of the constructor.
bool IsSpecialName
Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes...
bool IsFamilyAndAssembly
Gets a value indicating whether the visibility of this field is described by FieldAttributes....
ITypeSymbol FieldType
Gets the type of this field object.
bool IsPinvokeImpl
Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes.
bool IsStatic
Gets a value indicating whether the field is static.
Obtains information about the attributes of a member and provides access to member metadata.
Represents type declarations: class types, interface types, array types, value types,...