6 overrides of GetConstantValue
Microsoft.CodeAnalysis.CSharp (6)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
100
internal override ConstantValue
GetConstantValue
(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
482
internal override ConstantValue
GetConstantValue
(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Source\SourceFieldSymbol.cs (1)
237
internal sealed override ConstantValue
GetConstantValue
(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
60
internal override ConstantValue
GetConstantValue
(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
135
internal override ConstantValue
GetConstantValue
(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
179
internal override ConstantValue
GetConstantValue
(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
12 references to GetConstantValue
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (1)
8584
constantValueOpt = fieldSymbol.
GetConstantValue
(this.ConstantFieldsInProgress, this.IsEarlyAttributeBinder);
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\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
276
constValue = this.
GetConstantValue
(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false);
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
181
return _underlyingField.
GetConstantValue
(inProgress, earlyDecodingWellKnownAttributes);