10 references to IsAttributeType
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Symbols.cs (2)
2184
Compilation.
IsAttributeType
((NamedTypeSymbol)first) &&
2185
Compilation.
IsAttributeType
((NamedTypeSymbol)second))
Compiler\ClsComplianceChecker.cs (1)
258
else if (_compilation.
IsAttributeType
(symbol) && !HasAcceptableAttributeConstructor(symbol))
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
625
bool alwaysIncludeConstructors = context.IncludePrivateMembers || AdaptedNamedTypeSymbol.DeclaringCompilation.
IsAttributeType
(AdaptedNamedTypeSymbol);
FlowAnalysis\DefiniteAssignment.cs (1)
245
(type.IsErrorType() || compilation.
IsAttributeType
(type)));
Symbols\Compilation_WellKnownMembers.cs (1)
203
return
IsAttributeType
(type.EnsureCSharpSymbolOrNull(nameof(type)));
Symbols\Source\SourceNamedTypeSymbol.cs (3)
1051
Debug.Assert(this.SpecialType == SpecialType.System_Object || this.DeclaringCompilation.
IsAttributeType
(this));
1299
if (!this.DeclaringCompilation.
IsAttributeType
(this))
1386
if (!this.DeclaringCompilation.
IsAttributeType
(this))
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
107
if (this.IsGenericType && !baseContainsErrorTypes && this.DeclaringCompilation.
IsAttributeType
(localBase))