6 overrides of GetConstantValue
Microsoft.CodeAnalysis.CSharp (6)
CodeGen\Optimizer.cs (1)
2406
internal override ConstantValue
GetConstantValue
(SyntaxNode node, LocalSymbol inProgress, BindingDiagnosticBag diagnostics)
FlowAnalysis\NullableWalker.PlaceholderLocal.cs (1)
61
internal override ConstantValue
GetConstantValue
(SyntaxNode node, LocalSymbol inProgress, BindingDiagnosticBag diagnostics = null) => null;
Symbols\Source\SourceLocalSymbol.cs (1)
470
internal override ConstantValue
GetConstantValue
(SyntaxNode node, LocalSymbol inProgress, BindingDiagnosticBag diagnostics)
Symbols\Synthesized\SynthesizedLocal.cs (1)
190
internal sealed override ConstantValue
GetConstantValue
(SyntaxNode node, LocalSymbol inProgress, BindingDiagnosticBag diagnostics)
Symbols\Synthesized\TypeSubstitutedLocalSymbol.cs (1)
116
internal override ConstantValue
GetConstantValue
(SyntaxNode node, LocalSymbol inProgress, BindingDiagnosticBag diagnostics)
Symbols\UpdatedContainingSymbolLocal.cs (1)
93
internal override ConstantValue
GetConstantValue
(SyntaxNode node, LocalSymbol inProgress, BindingDiagnosticBag? diagnostics = null) =>
3 references to GetConstantValue
Microsoft.CodeAnalysis.CSharp (3)
Symbols\LocalSymbol.cs (2)
330
ConstantValue constantValue = this.
GetConstantValue
(null, null, null);
348
ConstantValue constantValue = this.
GetConstantValue
(null, null, null);
Symbols\Synthesized\TypeSubstitutedLocalSymbol.cs (1)
118
return _originalVariable.
GetConstantValue
(node, inProgress, diagnostics);