25 references to GenericParameterAttributes
Mono.Cecil (25)
Mono.Cecil\AssemblyReader.cs (2)
1922
var
flags = (
GenericParameterAttributes
) ReadUInt16 ();
Mono.Cecil\AssemblyWriter.cs (1)
61
using GenericParamRow = Row<ushort,
GenericParameterAttributes
, CodedRID, StringIndex>;
Mono.Cecil\GenericParameter.cs (22)
29
public
GenericParameterAttributes
Attributes {
30
get { return (
GenericParameterAttributes
) attributes; }
139
get { return attributes.GetMaskedAttributes ((ushort)
GenericParameterAttributes
.VarianceMask, (ushort)
GenericParameterAttributes
.NonVariant); }
140
set { attributes = attributes.SetMaskedAttributes ((ushort)
GenericParameterAttributes
.VarianceMask, (ushort)
GenericParameterAttributes
.NonVariant, value); }
144
get { return attributes.GetMaskedAttributes ((ushort)
GenericParameterAttributes
.VarianceMask, (ushort)
GenericParameterAttributes
.Covariant); }
145
set { attributes = attributes.SetMaskedAttributes ((ushort)
GenericParameterAttributes
.VarianceMask, (ushort)
GenericParameterAttributes
.Covariant, value); }
149
get { return attributes.GetMaskedAttributes ((ushort)
GenericParameterAttributes
.VarianceMask, (ushort)
GenericParameterAttributes
.Contravariant); }
150
set { attributes = attributes.SetMaskedAttributes ((ushort)
GenericParameterAttributes
.VarianceMask, (ushort)
GenericParameterAttributes
.Contravariant, value); }
154
get { return attributes.GetAttributes ((ushort)
GenericParameterAttributes
.ReferenceTypeConstraint); }
155
set { attributes = attributes.SetAttributes ((ushort)
GenericParameterAttributes
.ReferenceTypeConstraint, value); }
159
get { return attributes.GetAttributes ((ushort)
GenericParameterAttributes
.NotNullableValueTypeConstraint); }
160
set { attributes = attributes.SetAttributes ((ushort)
GenericParameterAttributes
.NotNullableValueTypeConstraint, value); }
164
get { return attributes.GetAttributes ((ushort)
GenericParameterAttributes
.DefaultConstructorConstraint); }
165
set { attributes = attributes.SetAttributes ((ushort)
GenericParameterAttributes
.DefaultConstructorConstraint, value); }
169
get { return attributes.GetAttributes ((ushort)
GenericParameterAttributes
.AllowByRefLikeConstraint); }
170
set { attributes = attributes.SetAttributes ((ushort)
GenericParameterAttributes
.AllowByRefLikeConstraint, value); }