10 references to IsAttributeType
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Symbols.cs (2)
2157
Compilation.
IsAttributeType
((NamedTypeSymbol)first) &&
2158
Compilation.
IsAttributeType
((NamedTypeSymbol)second))
Compiler\ClsComplianceChecker.cs (1)
251
else if (_compilation.
IsAttributeType
(symbol) && !HasAcceptableAttributeConstructor(symbol))
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
615
bool alwaysIncludeConstructors = context.IncludePrivateMembers || AdaptedNamedTypeSymbol.DeclaringCompilation.
IsAttributeType
(AdaptedNamedTypeSymbol);
FlowAnalysis\DefiniteAssignment.cs (1)
246
(type.IsErrorType() || compilation.
IsAttributeType
(type)));
Symbols\Compilation_WellKnownMembers.cs (1)
200
return
IsAttributeType
(type.EnsureCSharpSymbolOrNull(nameof(type)));
Symbols\Source\SourceNamedTypeSymbol.cs (3)
1016
Debug.Assert(this.SpecialType == SpecialType.System_Object || this.DeclaringCompilation.
IsAttributeType
(this));
1220
if (!this.DeclaringCompilation.
IsAttributeType
(this))
1291
if (!this.DeclaringCompilation.
IsAttributeType
(this))
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
106
if (this.IsGenericType && !baseContainsErrorTypes && this.DeclaringCompilation.
IsAttributeType
(localBase))