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