21 references to CustomAttributeBagCompletionPart
Microsoft.CodeAnalysis (21)
Symbols\Attributes\CustomAttributesBag.cs (21)
30
public static readonly CustomAttributesBag<T> Empty = new CustomAttributesBag<T>(
CustomAttributeBagCompletionPart
.All, ImmutableArray<T>.Empty);
32
private CustomAttributesBag(
CustomAttributeBagCompletionPart
part, ImmutableArray<T> customAttributes)
39
: this(
CustomAttributeBagCompletionPart
.None, default(ImmutableArray<T>))
48
return new CustomAttributesBag<T>(
CustomAttributeBagCompletionPart
.EarlyDecodedWellKnownAttributeData |
CustomAttributeBagCompletionPart
.DecodedWellKnownAttributeData, default(ImmutableArray<T>));
72
Debug.Assert(!IsPartComplete(
CustomAttributeBagCompletionPart
.DecodedWellKnownAttributeData) || IsPartComplete(
CustomAttributeBagCompletionPart
.EarlyDecodedWellKnownAttributeData));
74
NotePartComplete(
CustomAttributeBagCompletionPart
.EarlyDecodedWellKnownAttributeData);
87
Debug.Assert(IsPartComplete(
CustomAttributeBagCompletionPart
.EarlyDecodedWellKnownAttributeData));
89
NotePartComplete(
CustomAttributeBagCompletionPart
.DecodedWellKnownAttributeData);
102
NotePartComplete(
CustomAttributeBagCompletionPart
.Attributes);
114
Debug.Assert(IsPartComplete(
CustomAttributeBagCompletionPart
.Attributes));
128
Debug.Assert(IsPartComplete(
CustomAttributeBagCompletionPart
.DecodedWellKnownAttributeData));
141
Debug.Assert(IsPartComplete(
CustomAttributeBagCompletionPart
.EarlyDecodedWellKnownAttributeData));
146
private
CustomAttributeBagCompletionPart
State
150
return (
CustomAttributeBagCompletionPart
)_state;
158
private void NotePartComplete(
CustomAttributeBagCompletionPart
part)
163
internal bool IsPartComplete(
CustomAttributeBagCompletionPart
part)
170
get { return IsPartComplete(
CustomAttributeBagCompletionPart
.All); }
179
get { return IsPartComplete(
CustomAttributeBagCompletionPart
.EarlyDecodedWellKnownAttributeData); }
188
get { return IsPartComplete(
CustomAttributeBagCompletionPart
.DecodedWellKnownAttributeData); }