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