20 references to Attribute
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
AddResponseTypeAttributeCodeFixAction.cs (1)
248return SyntaxFactory.Attribute(
Microsoft.Interop.ComInterfaceGenerator (1)
VirtualMethodPointerStubGenerator.cs (1)
151AttributeSyntax unmanagedCallersOnlyAttribute = Attribute(
Microsoft.Interop.JavaScript.JSImportGenerator (9)
JSExportGenerator.cs (7)
123Attribute(IdentifierName(Constants.DebuggerNonUserCodeAttribute)))))) 213Attribute(IdentifierName(Constants.ThreadStaticGlobal)))))); 227Attribute( 230Attribute( 270Attribute(IdentifierName(Constants.CompilerGeneratedAttributeGlobal))) 346AttributeListSyntax registrationAttribute = AttributeList(SingletonSeparatedList(Attribute(IdentifierName(Constants.DynamicDependencyAttributeGlobal)) 406Attribute(IdentifierName(Constants.DebuggerNonUserCodeAttribute))))));
JSImportGenerator.cs (2)
95Attribute(IdentifierName(Constants.DebuggerNonUserCodeAttribute)))))) 329Attribute(IdentifierName(Constants.DebuggerNonUserCodeAttribute))))));
Microsoft.Interop.LibraryImportGenerator (5)
LibraryImportGenerator.cs (5)
92attributes.Add(Attribute(NameSyntaxes.SuppressGCTransitionAttribute)); 97attributes.Add(Attribute(NameSyntaxes.System_Diagnostics_StackTraceHiddenAttribute)); 102AttributeSyntax unmanagedCallConvSyntax = Attribute(NameSyntaxes.UnmanagedCallConvAttribute); 128Attribute(NameSyntaxes.DefaultDllImportSearchPathsAttribute).AddArgumentListArguments( 136attributes.Add(Attribute(NameSyntaxes.WasmImportLinkageAttribute));
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
118Attribute(NameSyntaxes.DefaultDllImportSearchPathsAttribute).AddArgumentListArguments(
Microsoft.Interop.SourceGeneration (3)
Marshalling\MarshallingGeneratorExtensions.cs (2)
118rehydratedAttributes.Add(Attribute(IdentifierName(TypeNames.System_Runtime_InteropServices_InAttribute))); 122rehydratedAttributes.Add(Attribute(IdentifierName(TypeNames.System_Runtime_InteropServices_OutAttribute)));
SignatureContext.cs (1)
90Attribute(NameSyntaxes.System_Runtime_CompilerServices_SkipLocalsInitAttribute))));