40 references to ForAttributeWithMetadataName
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (40)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (40)
74var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("N1.XAttribute"); 116var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>(name); 153var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("N2.XAttribute"); 183var input = ctx.ForAttributeWithMetadataName<CompilationUnitSyntax>("System.CLSCompliantAttribute"); 213var input = ctx.ForAttributeWithMetadataName<CompilationUnitSyntax>("System.CLSCompliantAttribute"); 240var input = ctx.ForAttributeWithMetadataName<CompilationUnitSyntax>("System.CLSCompliantAttribute"); 267var input = ctx.ForAttributeWithMetadataName<CompilationUnitSyntax>("System.CLSCompliantAttribute"); 295var input = ctx.ForAttributeWithMetadataName<CompilationUnitSyntax>("System.CLSCompliantAttribute"); 326var input = ctx.ForAttributeWithMetadataName<LocalFunctionStatementSyntax>("System.CLSCompliantAttribute"); 362var input = ctx.ForAttributeWithMetadataName<LocalFunctionStatementSyntax>("System.CLSCompliantAttribute"); 401var input = ctx.ForAttributeWithMetadataName<LocalFunctionStatementSyntax>("System.CLSCompliantAttribute"); 430var input = ctx.ForAttributeWithMetadataName<TypeParameterSyntax>("System.CLSCompliantAttribute"); 463var input = ctx.ForAttributeWithMetadataName<MethodDeclarationSyntax>("System.CLSCompliantAttribute"); 496var input = ctx.ForAttributeWithMetadataName<MethodDeclarationSyntax>("System.CLSCompliantAttribute"); 528var input = ctx.ForAttributeWithMetadataName<MethodDeclarationSyntax>("System.CLSCompliantAttribute"); 560var input = ctx.ForAttributeWithMetadataName<MethodDeclarationSyntax>("System.CLSCompliantAttribute"); 591var input = ctx.ForAttributeWithMetadataName<VariableDeclaratorSyntax>("System.CLSCompliantAttribute"); 622var input = ctx.ForAttributeWithMetadataName<VariableDeclaratorSyntax>("System.CLSCompliantAttribute"); 655var input = ctx.ForAttributeWithMetadataName<VariableDeclaratorSyntax>("System.CLSCompliantAttribute"); 686var input = ctx.ForAttributeWithMetadataName<VariableDeclaratorSyntax>("System.CLSCompliantAttribute"); 715var input = ctx.ForAttributeWithMetadataName<LambdaExpressionSyntax>("System.CLSCompliantAttribute"); 749var input = ctx.ForAttributeWithMetadataName<AccessorDeclarationSyntax>("System.CLSCompliantAttribute"); 778var input = ctx.ForAttributeWithMetadataName<TypeParameterSyntax>("System.CLSCompliantAttribute"); 815var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("Outer1+InnerAttribute"); 852var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("Outer2+InnerAttribute"); 889var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("Outer1+InnerAttribute`1"); 926var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("Outer2+InnerAttribute`2"); 963var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("Outer1+InnerAttribute`2"); 999var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("Outer2+InnerAttribute`1"); 1244var provider = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("GenerateAttribute"); 1336var input = ctx.ForAttributeWithMetadataName<MethodDeclarationSyntax>("System.Runtime.InteropServices.LibraryImportAttribute"); 1382var input = ctx.ForAttributeWithMetadataName<MethodDeclarationSyntax>("System.Runtime.InteropServices.LibraryImportAttribute"); 1420var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute"); 1467var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute"); 1514var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute"); 1557var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute"); 1605var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute"); 1658var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute"); 1717var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute"); 1769var input = ctx.ForAttributeWithMetadataName<ClassDeclarationSyntax>("XAttribute");