3 instantiations of ConstantFieldsInProgress
Microsoft.CodeAnalysis.CSharp (3)
Binder\ConstantFieldsInProgress.cs (1)
23
internal static readonly ConstantFieldsInProgress Empty = new
ConstantFieldsInProgress
(null, null);
Symbols\ConstantValueUtils.cs (1)
46
var inProgressBinder = new ConstantFieldsInProgressBinder(new
ConstantFieldsInProgress
(symbol, dependencies), binder);
Symbols\Source\SourceEnumConstantSymbol.cs (1)
203
var otherValue = _otherConstant.GetConstantValue(new
ConstantFieldsInProgress
(this, dependencies), earlyDecodingWellKnownAttributes);
30 references to ConstantFieldsInProgress
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder.cs (1)
461
internal virtual
ConstantFieldsInProgress
ConstantFieldsInProgress
Binder\BuckStopsHereBinder.cs (2)
73
internal override
ConstantFieldsInProgress
ConstantFieldsInProgress
77
return
ConstantFieldsInProgress
.Empty;
Binder\ConstantFieldsInProgress.cs (1)
23
internal static readonly
ConstantFieldsInProgress
Empty = new ConstantFieldsInProgress(null, null);
Binder\ConstantFieldsInProgressBinder.cs (3)
16
private readonly
ConstantFieldsInProgress
_inProgress;
18
internal ConstantFieldsInProgressBinder(
ConstantFieldsInProgress
inProgress, Binder next)
24
internal override
ConstantFieldsInProgress
ConstantFieldsInProgress
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\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
100
internal override ConstantValue GetConstantValue(
ConstantFieldsInProgress
inProgress, bool earlyDecodingWellKnownAttributes)
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 (3)
158
ConstantValue constantValue = GetConstantValue(
ConstantFieldsInProgress
.Empty, earlyDecodingWellKnownAttributes: false);
176
ConstantValue constantValue = GetConstantValue(
ConstantFieldsInProgress
.Empty, earlyDecodingWellKnownAttributes: false);
181
internal abstract ConstantValue GetConstantValue(
ConstantFieldsInProgress
inProgress, bool earlyDecodingWellKnownAttributes);
Symbols\Metadata\PE\PEFieldSymbol.cs (3)
478
return (_flags & FieldAttributes.Literal) != 0 || GetConstantValue(
ConstantFieldsInProgress
.Empty, earlyDecodingWellKnownAttributes: false) != null;
482
internal override ConstantValue GetConstantValue(
ConstantFieldsInProgress
inProgress, bool earlyDecodingWellKnownAttributes)
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\SourceFieldSymbol.cs (1)
237
internal sealed override ConstantValue GetConstantValue(
ConstantFieldsInProgress
inProgress, bool earlyDecodingWellKnownAttributes)
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);
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)