55 references to GlobalAlias
Microsoft.Interop.ComInterfaceGenerator (7)
ComClassGenerator.cs (1)
66
GenericName(TypeNames.
GlobalAlias
+ TypeNames.ComExposedClassAttribute)
ComInterfaceGenerator.cs (2)
234
context.AddSource(data.TypeName.Replace(TypeNames.
GlobalAlias
, ""), data.Source);
240
GenericName(TypeNames.
GlobalAlias
+ TypeNames.IUnknownDerivedAttribute)
ComInterfaceInfo.cs (2)
221
attrInfo.StringMarshallingCustomType.FullTypeName.Replace(TypeNames.
GlobalAlias
, ""),
303
exceptionToUnmanagedMarshallerType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat).Replace(TypeNames.
GlobalAlias
, ""),
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
37
$"{TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch}*",
VirtualMethodPointerStubGenerator.cs (1)
222
new ReferenceTypeInfo(TypeNames.
GlobalAlias
+ TypeNames.System_Exception, TypeNames.System_Exception),
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSExportGenerator.cs (1)
433
.WithBody(stubGenerator.GenerateStubBody(IdentifierName(TypeNames.
GlobalAlias
+ context.SignatureContext.MethodName)))
Microsoft.Interop.SourceGeneration (47)
MarshallingAttributeInfo.cs (1)
177
ManagedTypeInfo marshallerTypeInfo = new ReferenceTypeInfo(TypeNames.
GlobalAlias
+ marshallerName, marshallerName);
TypeNames.cs (46)
14
public static NameSyntax DllImportAttribute => _DllImportAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.DllImportAttribute);
17
public static NameSyntax LibraryImportAttribute => _LibraryImportAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.LibraryImportAttribute);
20
public static NameSyntax System_Runtime_InteropServices_DynamicInterfaceCastableImplementationAttribute => _System_Runtime_InteropServices_DynamicInterfaceCastableImplementationAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_DynamicInterfaceCastableImplementationAttribute);
23
public static NameSyntax System_Runtime_InteropServices_MarshalAsAttribute => _System_Runtime_InteropServices_MarshalAsAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_MarshalAsAttribute);
26
public static NameSyntax DefaultDllImportSearchPathsAttribute => _DefaultDllImportSearchPathsAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.DefaultDllImportSearchPathsAttribute);
29
public static NameSyntax SuppressGCTransitionAttribute => _SuppressGCTransitionAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.SuppressGCTransitionAttribute);
32
public static NameSyntax UnmanagedCallConvAttribute => _UnmanagedCallConvAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.UnmanagedCallConvAttribute);
35
public static NameSyntax System_Runtime_CompilerServices_SkipLocalsInitAttribute => _System_Runtime_CompilerServices_SkipLocalsInitAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_CompilerServices_SkipLocalsInitAttribute);
38
public static NameSyntax System_CodeDom_Compiler_GeneratedCodeAttribute => _System_CodeDom_Compiler_GeneratedCodeAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_CodeDom_Compiler_GeneratedCodeAttribute);
41
public static NameSyntax UnmanagedCallersOnlyAttribute => _UnmanagedCallersOnlyAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.UnmanagedCallersOnlyAttribute);
44
public static NameSyntax WasmImportLinkageAttribute => _WasmImportLinkageAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.WasmImportLinkageAttribute);
47
public static NameSyntax System_Runtime_CompilerServices_FixedAddressValueTypeAttribute => _System_Runtime_CompilerServices_FixedAddressValueTypeAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_CompilerServices_FixedAddressValueTypeAttribute);
50
public static NameSyntax System_Runtime_InteropServices_StructLayoutAttribute => _System_Runtime_InteropServices_StructLayoutAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_StructLayoutAttribute);
64
public static TypeSyntax StringMarshalling => _StringMarshalling ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.StringMarshalling);
67
public static TypeSyntax System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry => _System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry);
70
public static TypeSyntax System_Runtime_InteropServices_NativeMemory => _System_Runtime_InteropServices_NativeMemory ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_NativeMemory);
73
public static TypeSyntax StrategyBasedComWrappers => _StrategyBasedComWrappers ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.StrategyBasedComWrappers);
76
public static TypeSyntax IUnmanagedVirtualMethodTableProvider => _IUnmanagedVirtualMethodTableProvider ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.IUnmanagedVirtualMethodTableProvider);
79
public static TypeSyntax IIUnknownInterfaceType => _IIUnknownInterfaceType ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.IIUnknownInterfaceType);
82
public static TypeSyntax IIUnknownDerivedDetails => _IIUnknownDerivedDetails ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.IIUnknownDerivedDetails);
85
public static TypeSyntax UnmanagedObjectUnwrapper => _UnmanagedObjectUnwrapper ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.UnmanagedObjectUnwrapper);
88
public static TypeSyntax IComExposedClass => _IComExposedClass ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.IComExposedClass);
91
public static TypeSyntax UnreachableException => _UnreachableException ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.UnreachableException);
94
public static TypeSyntax System_Runtime_CompilerServices_RuntimeHelpers => _System_Runtime_CompilerServices_RuntimeHelpers ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_CompilerServices_RuntimeHelpers);
97
public static TypeSyntax System_Runtime_InteropServices_ComWrappers => _System_Runtime_InteropServices_ComWrappers ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_ComWrappers);
100
public static TypeSyntax System_IntPtr => _System_IntPtr ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_IntPtr);
103
public static TypeSyntax System_Guid => _System_Guid ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Guid);
106
public static TypeSyntax DllImportSearchPath => _DllImportSearchPath ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.DllImportSearchPath);
109
public static TypeSyntax System_Type => _System_Type ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Type);
112
public static TypeSyntax System_Activator => _System_Activator ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Activator);
115
public static TypeSyntax System_Runtime_InteropServices_Marshal => _System_Runtime_InteropServices_Marshal ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_Marshal);
118
public static TypeSyntax System_Runtime_InteropServices_UnmanagedType => _System_Runtime_InteropServices_UnmanagedType ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_UnmanagedType);
121
public static TypeSyntax System_Runtime_InteropServices_MemoryMarshal => _System_Runtime_InteropServices_MemoryMarshal ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_MemoryMarshal);
124
public static TypeSyntax System_Exception => _System_Exception ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Exception);
127
public static TypeSyntax System_GC => _System_GC ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_GC);
130
public static TypeSyntax System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch => _System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch);
133
public static TypeSyntax System_Runtime_CompilerServices_Unsafe => _System_Runtime_CompilerServices_Unsafe ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_CompilerServices_Unsafe);
136
public static TypeSyntax System_Runtime_InteropServices_LayoutKind => _System_Runtime_InteropServices_LayoutKind ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_LayoutKind);
148
"Cdecl" => _CallConvCdecl ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvCdeclName),
149
"Fastcall" => _CallConvFastcall ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvFastcallName),
150
"MemberFunction" => _CallConvMemberFunction ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvMemberFunctionName),
151
"Stdcall" => _CallConvStdcall ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvStdcallName),
152
"SuppressGCTransition" => _CallConvSuppressGCTransition ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvSuppressGCTransitionName),
153
"Thiscall" => _CallConvThiscall ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvThiscallName),
204
public const string System_Span =
GlobalAlias
+ "System.Span";
206
public const string System_ReadOnlySpan =
GlobalAlias
+ "System.ReadOnlySpan";