Base:
method
GetAttributes
Microsoft.CodeAnalysis.CSharp.Symbol.GetAttributes()
7 references to GetAttributes
Microsoft.CodeAnalysis.CSharp (5)
Emitter\Model\SourceAssemblySymbolAdapter.cs (1)
20
ImmutableArray<CSharpAttributeData> userDefined = this.
GetAttributes
();
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
212
return RetargetingTranslator.GetRetargetedAttributes(_underlyingAssembly.
GetAttributes
(), ref _lazyCustomAttributes);
Symbols\Source\SourceAssemblySymbol.cs (3)
85
/// These indices correspond to the merged assembly attributes from source and added net modules, i.e. attributes returned by <see cref="
GetAttributes
"/> method.
1628
Debug.Assert(_lazyOmittedAttributeIndices == null || !_lazyOmittedAttributeIndices.Any(i => i < 0 || i >= this.
GetAttributes
().Length));
1632
Debug.Assert(index < this.
GetAttributes
().Length);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests.cs (2)
321
newLibComp3.SourceAssembly.
GetAttributes
();
349
var attribute = newLibComp.SourceAssembly.
GetAttributes
().Single(); // GetAttributes binds all attributes