19 references to System_Attribute
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Lookup.cs (1)
714if (Compilation.IsEqualOrDerivedFromWellKnownClass(namedType, WellKnownType.System_Attribute, ref useSiteInfo))
Emitter\Model\PEAssemblyBuilder.cs (7)
438baseType: GetWellKnownType(WellKnownType.System_Attribute, diagnostics)); 445GetWellKnownType(WellKnownType.System_Attribute, diagnostics), 453GetWellKnownType(WellKnownType.System_Attribute, diagnostics), 461GetWellKnownType(WellKnownType.System_Attribute, diagnostics), 469GetWellKnownType(WellKnownType.System_Attribute, diagnostics), 477GetWellKnownType(WellKnownType.System_Attribute, diagnostics)); 484GetWellKnownType(WellKnownType.System_Attribute, diagnostics),
Symbols\Compilation_WellKnownMembers.cs (2)
195return IsEqualOrDerivedFromWellKnownClass(type, WellKnownType.System_Attribute, ref discardedUseSiteInfo); 215Debug.Assert(wellKnownType == WellKnownType.System_Attribute ||
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MissingSpecialMember.cs (1)
681WellKnownType.System_Attribute,
Microsoft.CodeAnalysis.VisualBasic (8)
Binding\Binder_Attributes.vb (1)
201ElseIf Not Compilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(namedType, localUseSiteInfo) Then
Semantics\OverloadResolution.vb (1)
3396binder.Compilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(candidate.Candidate.UnderlyingSymbol.ContainingType, useSiteInfo) Then
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (1)
206DirectCast(derivedType, NamedTypeSymbol).IsOrDerivedFromWellKnownClass(WellKnownType.System_Attribute,
Symbols\Source\SourceNamedTypeSymbol.vb (2)
1632Dim isBaseType As Boolean = DeclaringCompilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(localBase, useSiteInfo) 2127Debug.Assert(Me.IsOrDerivedFromWellKnownClass(WellKnownType.System_Attribute, DeclaringCompilation, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) OrElse Me.SpecialType = Microsoft.CodeAnalysis.SpecialType.System_Object)
Symbols\Symbol_Attributes.vb (1)
496Debug.Assert(attributeType.IsOrDerivedFromWellKnownClass(WellKnownType.System_Attribute, compilation, CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
Symbols\WellKnownMembers.vb (2)
90GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(attributeType, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) AndAlso 359Return DirectCast(type, NamedTypeSymbol).IsOrDerivedFromWellKnownClass(WellKnownType.System_Attribute, Me, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)