1 write to _flags
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
95
_flags
= ((flags & GenericParameterAttributes.NotNullableValueTypeConstraint) == 0) ? flags : (flags & ~GenericParameterAttributes.DefaultConstructorConstraint);
9 references to _flags
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Metadata\PE\PETypeParameterSymbol.cs (9)
234
if (hasUnmanagedModreqPattern && (
_flags
& GenericParameterAttributes.NotNullableValueTypeConstraint) == 0 ||
291
if (typeSymbol.SpecialType == SpecialType.System_ValueType && ((
_flags
& GenericParameterAttributes.NotNullableValueTypeConstraint) != 0))
450
return (
_flags
& GenericParameterAttributes.DefaultConstructorConstraint) != 0;
458
return (
_flags
& GenericParameterAttributes.ReferenceTypeConstraint) != 0;
508
return (
_flags
& (GenericParameterAttributes.NotNullableValueTypeConstraint | GenericParameterAttributes.ReferenceTypeConstraint)) == 0 &&
517
if ((
_flags
& (GenericParameterAttributes.NotNullableValueTypeConstraint | GenericParameterAttributes.ReferenceTypeConstraint)) == 0 &&
566
return (
_flags
& GenericParameterAttributes.NotNullableValueTypeConstraint) != 0;
574
return (
_flags
& MetadataHelpers.GenericParameterAttributesAllowByRefLike) != 0;
600
return (VarianceKind)(
_flags
& GenericParameterAttributes.VarianceMask);