3 types derived from SourceEnumConstantSymbol
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceEnumConstantSymbol.cs (3)
144
private sealed class ZeroValuedEnumConstantSymbol :
SourceEnumConstantSymbol
161
private sealed class ExplicitValuedEnumConstantSymbol :
SourceEnumConstantSymbol
181
private sealed class ImplicitValuedEnumConstantSymbol :
SourceEnumConstantSymbol
14 references to SourceEnumConstantSymbol
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (1)
517
SourceEnumConstantSymbol
symbol,
Compilation\InitializerSemanticModel.cs (2)
153
var
enumField = field as
SourceEnumConstantSymbol
;
Symbols\ConstantValueUtils.cs (2)
61
var
enumConstant = fieldSymbol as
SourceEnumConstantSymbol
;
Symbols\Source\SourceEnumConstantSymbol.cs (5)
22
public static
SourceEnumConstantSymbol
CreateExplicitValuedConstant(
30
public static
SourceEnumConstantSymbol
CreateImplicitValuedConstant(
33
SourceEnumConstantSymbol
otherConstant,
183
private readonly
SourceEnumConstantSymbol
_otherConstant;
189
SourceEnumConstantSymbol
otherConstant,
Symbols\Source\SourceMemberContainerSymbol.cs (4)
3992
SourceEnumConstantSymbol
? otherSymbol = null;
3999
SourceEnumConstantSymbol
symbol;
4004
symbol =
SourceEnumConstantSymbol
.CreateExplicitValuedConstant(this, member, diagnostics);
4008
symbol =
SourceEnumConstantSymbol
.CreateImplicitValuedConstant(this, member, otherSymbol, otherSymbolOffset, diagnostics);