3 instantiations of ConstantFieldsInProgress
Microsoft.CodeAnalysis.CSharp (3)
Binder\ConstantFieldsInProgress.cs (1)
23internal static readonly ConstantFieldsInProgress Empty = new ConstantFieldsInProgress(null, null);
Symbols\ConstantValueUtils.cs (1)
46var inProgressBinder = new ConstantFieldsInProgressBinder(new ConstantFieldsInProgress(symbol, dependencies), binder);
Symbols\Source\SourceEnumConstantSymbol.cs (1)
203var otherValue = _otherConstant.GetConstantValue(new ConstantFieldsInProgress(this, dependencies), earlyDecodingWellKnownAttributes);
30 references to ConstantFieldsInProgress
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder.cs (1)
461internal virtual ConstantFieldsInProgress ConstantFieldsInProgress
Binder\BuckStopsHereBinder.cs (2)
73internal override ConstantFieldsInProgress ConstantFieldsInProgress 77return ConstantFieldsInProgress.Empty;
Binder\ConstantFieldsInProgress.cs (1)
23internal static readonly ConstantFieldsInProgress Empty = new ConstantFieldsInProgress(null, null);
Binder\ConstantFieldsInProgressBinder.cs (3)
16private readonly ConstantFieldsInProgress _inProgress; 18internal ConstantFieldsInProgressBinder(ConstantFieldsInProgress inProgress, Binder next) 24internal override ConstantFieldsInProgress ConstantFieldsInProgress
Binder\PatternExplainer.cs (1)
654field.GetConstantValue(ConstantFieldsInProgress.Empty, false) is ConstantValue constantValue &&
Compiler\MethodCompiler.cs (1)
564ConstantValue constantValue = fieldSymbol.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false);
Operations\CSharpOperationFactory.cs (1)
2900var constantValue = field.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
100internal override ConstantValue GetConstantValue(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Compilation_WellKnownMembers.cs (4)
726int constantVal = ignoreSymbolStoreDebuggingMode.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false).Int32Value; 748constantVal |= defaultDebuggingMode.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false).Int32Value; 749constantVal |= disableOptimizationsDebuggingMode.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false).Int32Value; 760constantVal |= enableEncDebuggingMode.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false).Int32Value;
Symbols\FieldSymbol.cs (3)
158ConstantValue constantValue = GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false); 176ConstantValue constantValue = GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false); 181internal abstract ConstantValue GetConstantValue(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes);
Symbols\Metadata\PE\PEFieldSymbol.cs (3)
478return (_flags & FieldAttributes.Literal) != 0 || GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false) != null; 482internal override ConstantValue GetConstantValue(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes) 603(object)(value = GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false)) != null &&
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
276constValue = this.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false);
Symbols\Source\SourceEnumConstantSymbol.cs (1)
127GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false);
Symbols\Source\SourceFieldSymbol.cs (1)
237internal sealed override ConstantValue GetConstantValue(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Source\SourceMemberFieldSymbol.cs (3)
108var value = this.GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false); 137GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false) is { } value && 296GetConstantValue(ConstantFieldsInProgress.Empty, earlyDecodingWellKnownAttributes: false);
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
60internal override ConstantValue GetConstantValue(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
135internal override ConstantValue GetConstantValue(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
179internal override ConstantValue GetConstantValue(ConstantFieldsInProgress inProgress, bool earlyDecodingWellKnownAttributes)