15 references to TypeForwardedToAttribute
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Attributes\AttributeData.cs (1)
712
IsTargetAttribute(target, AttributeDescription.
TypeForwardedToAttribute
) ||
Symbols\Source\QuickAttributeChecker.cs (2)
50
result.AddName(AttributeDescription.
TypeForwardedToAttribute
.Name, QuickAttributes.TypeForwardedTo);
170
else if (matches(AttributeDescription.
TypeForwardedToAttribute
))
Symbols\Source\SourceAssemblySymbol.cs (1)
2518
else if (!isFromNetModule && attribute.IsTargetAttribute(this, AttributeDescription.
TypeForwardedToAttribute
))
Symbols\Symbol_Attributes.cs (1)
461
if (!boundAttribute.HasErrors && boundAttribute.IsTargetAttribute(this, AttributeDescription.
TypeForwardedToAttribute
) &&
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\Metadata\PE\TypeForwarders.cs (4)
1469
Assert.Equal(0, assembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count());
1645
Assert.Equal(0, m.ContainingAssembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count());
1697
Assert.Equal(0, m.ContainingAssembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count());
1739
Assert.Equal(0, assembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count());
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Attributes\AttributeData.vb (1)
559
IsTargetAttribute(target, AttributeDescription.
TypeForwardedToAttribute
) OrElse
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (5)
SymbolsTests\Metadata\PE\TypeForwarders.vb (5)
937
Assert.Equal(1, moduleSymbol.ContainingAssembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count)
940
Assert.Equal(0, moduleSymbol.ContainingAssembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count)
996
Assert.Equal(0, m.ContainingAssembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count)
1055
Assert.Equal(0, m.ContainingAssembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count())
1112
Assert.Equal(0, m.ContainingAssembly.GetAttributes(AttributeDescription.
TypeForwardedToAttribute
).Count())