18 references to NullableContextKind
Microsoft.CodeAnalysis.CSharp (18)
Symbols\Metadata\PE\PEMethodSymbol.cs (2)
158
Debug.Assert(EnumUtilities.ContainsAllValues<
NullableContextKind
>(NullableContextMask));
226
return ((
NullableContextKind
)((_bits >> NullableContextOffset) & NullableContextMask)).TryGetByte(out value);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
72
private
NullableContextKind
_lazyNullableContextValue;
Symbols\NullableContextKind.cs (11)
45
internal static bool TryGetByte(this
NullableContextKind
kind, out byte? value)
49
case
NullableContextKind
.Unknown:
52
case
NullableContextKind
.None:
55
case
NullableContextKind
.Oblivious:
58
case
NullableContextKind
.NotAnnotated:
61
case
NullableContextKind
.Annotated:
69
internal static
NullableContextKind
ToNullableContextFlags(this byte? value)
74
return
NullableContextKind
.None;
76
return
NullableContextKind
.Oblivious;
78
return
NullableContextKind
.NotAnnotated;
80
return
NullableContextKind
.Annotated;
Symbols\Source\SourceMemberContainerSymbol.cs (2)
116
Debug.Assert(EnumUtilities.ContainsAllValues<
NullableContextKind
>(NullableContextMask));
153
return ((
NullableContextKind
)((_flags >> NullableContextOffset) & NullableContextMask)).TryGetByte(out value);
Symbols\Source\SourceMemberMethodSymbol.cs (2)
170
Debug.Assert(EnumUtilities.ContainsAllValues<
NullableContextKind
>(NullableContextMask));
281
return ((
NullableContextKind
)((_flags >> NullableContextOffset) & NullableContextMask)).TryGetByte(out value);