11 references to GetAttribute
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\CompilationEmitTests.cs (3)
1067Assert.NotNull(itest1.GetAttribute("System.Runtime.InteropServices", "TypeIdentifierAttribute")); 1074Assert.NotNull(s.GetAttribute("System.Runtime.InteropServices", "TypeIdentifierAttribute")); 1156Assert.NotNull(itest1.GetAttribute("System.Runtime.InteropServices", "TypeIdentifierAttribute"));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Attributes\AttributeTests_WellKnownAttributes.cs (8)
13220GetAttribute("System.Runtime.CompilerServices", "AsyncStateMachineAttribute"). 13225GetAttribute("System.Runtime.CompilerServices", "AsyncStateMachineAttribute"). 13230GetAttribute("System.Runtime.CompilerServices", "IteratorStateMachineAttribute"). 13235GetAttribute("System.Runtime.CompilerServices", "IteratorStateMachineAttribute"). 13343GetAttribute("System.Runtime.CompilerServices", "AsyncStateMachineAttribute"). 13348GetAttribute("System.Runtime.CompilerServices", "AsyncStateMachineAttribute"). 13353GetAttribute("System.Runtime.CompilerServices", "IteratorStateMachineAttribute"). 13358GetAttribute("System.Runtime.CompilerServices", "IteratorStateMachineAttribute").