17 references to Empty
Microsoft.CodeAnalysis.CSharp (17)
Binder\BuckStopsHereBinder.cs (1)
77
return ConstantFieldsInProgress.
Empty
;
Binder\PatternExplainer.cs (1)
654
field.GetConstantValue(ConstantFieldsInProgress.
Empty
, false) is ConstantValue constantValue &&
Compiler\MethodCompiler.cs (1)
564
ConstantValue constantValue = fieldSymbol.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);
Operations\CSharpOperationFactory.cs (1)
2900
var constantValue = field.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);
Symbols\Compilation_WellKnownMembers.cs (4)
726
int constantVal = ignoreSymbolStoreDebuggingMode.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false).Int32Value;
748
constantVal |= defaultDebuggingMode.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false).Int32Value;
749
constantVal |= disableOptimizationsDebuggingMode.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false).Int32Value;
760
constantVal |= enableEncDebuggingMode.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false).Int32Value;
Symbols\FieldSymbol.cs (2)
158
ConstantValue constantValue = GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);
176
ConstantValue constantValue = GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);
Symbols\Metadata\PE\PEFieldSymbol.cs (2)
478
return (_flags & FieldAttributes.Literal) != 0 || GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false) != null;
603
(object)(value = GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false)) != null &&
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
276
constValue = this.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);
Symbols\Source\SourceEnumConstantSymbol.cs (1)
127
GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);
Symbols\Source\SourceMemberFieldSymbol.cs (3)
108
var value = this.GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);
137
GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false) is { } value &&
296
GetConstantValue(ConstantFieldsInProgress.
Empty
, earlyDecodingWellKnownAttributes: false);