10 references to Attribute
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
599var attr = gen.Attribute(LoggerMessageAttribute, attrArgs);
Microsoft.CodeAnalysis.Analyzers (1)
MetaAnalyzers\Fixers\ApplyDiagnosticAnalyzerAttributeFix.cs (1)
75var attribute = generator.Attribute(WellKnownTypeNames.MicrosoftCodeAnalysisDiagnosticsDiagnosticAnalyzerAttribute, arguments);
Microsoft.Interop.ComInterfaceGenerator (3)
Analyzers\AddMarshalAsToElementFixer.cs (1)
51SyntaxNode marshalAsAttribute = gen.Attribute(
src\runtime\src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
260=> generator.Attribute(TypeNames.System_Runtime_InteropServices_MarshalAsAttribute, 289=> generator.Attribute(TypeNames.System_Runtime_InteropServices_MarshalAsAttribute,
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\ConvertToLibraryImportFixer.cs (1)
635unmanagedCallConvAttribute = generator.Attribute(TypeNames.UnmanagedCallConvAttribute,
src\runtime\src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
260=> generator.Attribute(TypeNames.System_Runtime_InteropServices_MarshalAsAttribute, 289=> generator.Attribute(TypeNames.System_Runtime_InteropServices_MarshalAsAttribute,
Roslyn.Diagnostics.Analyzers (2)
AbstractRunIterations`1.cs (1)
118syntaxGenerator.Attribute(
ImportingConstructorShouldBeObsoleteCodeFixProvider.cs (1)
229var attribute = generator.Attribute("ignored", argument);