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