21 references to Attribute
Microsoft.Interop.ComInterfaceGenerator (1)
VirtualMethodPointerStubGenerator.cs (1)
244AttributeSyntax unmanagedCallersOnlyAttribute = Attribute(
Microsoft.Interop.JavaScript.JSImportGenerator (10)
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 (3)
96Attribute(ParseName(Constants.DebuggerNonUserCodeAttribute)))), 98Attribute(ParseName(Constants.SupportedOSPlatformAttribute)) 335Attribute(IdentifierName(Constants.DebuggerNonUserCodeAttribute))))));
Microsoft.Interop.LibraryImportGenerator (6)
LibraryImportGenerator.cs (6)
92attributes.Add(Attribute(NameSyntaxes.SuppressGCTransitionAttribute)); 97attributes.Add(Attribute(NameSyntaxes.System_Diagnostics_StackTraceHiddenAttribute)); 102attributes.Add(Attribute(NameSyntaxes.System_Diagnostics_DebuggerHiddenAttribute)); 107AttributeSyntax unmanagedCallConvSyntax = Attribute(NameSyntaxes.UnmanagedCallConvAttribute); 133Attribute(NameSyntaxes.DefaultDllImportSearchPathsAttribute).AddArgumentListArguments( 141attributes.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))));