16 references to EnumBackingFieldName
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
602if (member != WellKnownMemberNames.InstanceConstructorName && member != WellKnownMemberNames.EnumBackingFieldName)
Microsoft.CodeAnalysis.CSharp (6)
SymbolDisplay\SymbolDisplayVisitor.cs (1)
468&& symbol.Name != WellKnownMemberNames.EnumBackingFieldName;
Symbols\Source\SourceEnumConstantSymbol.cs (2)
52if (this.Name == WellKnownMemberNames.EnumBackingFieldName) 54diagnostics.Add(ErrorCode.ERR_ReservedEnumerator, this.ErrorLocation, WellKnownMemberNames.EnumBackingFieldName);
Symbols\Source\SourceFieldSymbol.cs (1)
160return this.Name == WellKnownMemberNames.EnumBackingFieldName;
Symbols\Synthesized\SynthesizedEnumValueFieldSymbol.cs (1)
20: base(containingEnum, WellKnownMemberNames.EnumBackingFieldName, isPublic: true, isReadOnly: false, isStatic: false)
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
188get { return this.Name == WellKnownMemberNames.EnumBackingFieldName; }
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\EmitMetadataTests.cs (2)
1398var field = type.GetMembers(WellKnownMemberNames.EnumBackingFieldName).SingleOrDefault() as FieldSymbol; 1406Assert.Equal(WellKnownMemberNames.EnumBackingFieldName, field.Name);
Microsoft.CodeAnalysis.VisualBasic (4)
SymbolDisplay\SymbolDisplayVisitor.vb (1)
397symbol.Name <> WellKnownMemberNames.EnumBackingFieldName
Symbols\Source\SourceEnumConstantSymbol.vb (1)
40If IdentifierComparison.Equals(Me.Name, WellKnownMemberNames.EnumBackingFieldName) Then
Symbols\Source\SourceFieldSymbol.vb (1)
820Return Name = WellKnownMemberNames.EnumBackingFieldName
Symbols\Source\SourceNamedTypeSymbol.vb (1)
702WellKnownMemberNames.EnumBackingFieldName,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EnumMemberGenerator.vb (1)
36If enumMember.Name = WellKnownMemberNames.EnumBackingFieldName Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Recommendations\VisualBasicRecommendationServiceRunner.vb (1)
349symbols = symbols.WhereAsArray(Function(s) s.Kind <> SymbolKind.Field OrElse Not s.ContainingType.IsEnumType() OrElse s.Name <> WellKnownMemberNames.EnumBackingFieldName)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EnumMemberGenerator.vb (1)
36If enumMember.Name = WellKnownMemberNames.EnumBackingFieldName Then