38 references to GlobalAlias
Microsoft.Interop.ComInterfaceGenerator (5)
ComInterfaceGenerator.cs (1)
161
context.AddSource(interfaceContext.Info.Type.FullTypeName.Replace(TypeNames.
GlobalAlias
, ""), sw.ToString());
ComInterfaceInfo.cs (2)
229
attrInfo.StringMarshallingCustomType.FullTypeName.Replace(TypeNames.
GlobalAlias
, ""),
311
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)
403
.WithBody(stubGenerator.GenerateStubBody(IdentifierName(TypeNames.
GlobalAlias
+ context.SignatureContext.MethodName)))
Microsoft.Interop.SourceGeneration (32)
MarshallingAttributeInfo.cs (1)
177
ManagedTypeInfo marshallerTypeInfo = new ReferenceTypeInfo(TypeNames.
GlobalAlias
+ marshallerName, marshallerName);
TypeNames.cs (31)
14
public static NameSyntax DllImportAttribute => _DllImportAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.DllImportAttribute);
17
public static NameSyntax System_Runtime_InteropServices_DynamicInterfaceCastableImplementationAttribute => _System_Runtime_InteropServices_DynamicInterfaceCastableImplementationAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_DynamicInterfaceCastableImplementationAttribute);
20
public static NameSyntax DefaultDllImportSearchPathsAttribute => _DefaultDllImportSearchPathsAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.DefaultDllImportSearchPathsAttribute);
23
public static NameSyntax SuppressGCTransitionAttribute => _SuppressGCTransitionAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.SuppressGCTransitionAttribute);
26
public static NameSyntax UnmanagedCallConvAttribute => _UnmanagedCallConvAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.UnmanagedCallConvAttribute);
29
public static NameSyntax System_Runtime_CompilerServices_SkipLocalsInitAttribute => _System_Runtime_CompilerServices_SkipLocalsInitAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_CompilerServices_SkipLocalsInitAttribute);
32
public static NameSyntax System_CodeDom_Compiler_GeneratedCodeAttribute => _System_CodeDom_Compiler_GeneratedCodeAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_CodeDom_Compiler_GeneratedCodeAttribute);
35
public static NameSyntax UnmanagedCallersOnlyAttribute => _UnmanagedCallersOnlyAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.UnmanagedCallersOnlyAttribute);
38
public static NameSyntax WasmImportLinkageAttribute => _WasmImportLinkageAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.WasmImportLinkageAttribute);
41
public static NameSyntax System_Diagnostics_StackTraceHiddenAttribute => _System_Diagnostics_StackTraceHiddenAttribute ??= ParseName(TypeNames.
GlobalAlias
+ TypeNames.System_Diagnostics_StackTraceHiddenAttribute);
49
public static TypeSyntax IUnmanagedVirtualMethodTableProvider => _IUnmanagedVirtualMethodTableProvider ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.IUnmanagedVirtualMethodTableProvider);
52
public static TypeSyntax UnmanagedObjectUnwrapper => _UnmanagedObjectUnwrapper ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.UnmanagedObjectUnwrapper);
55
public static TypeSyntax UnreachableException => _UnreachableException ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.UnreachableException);
58
public static TypeSyntax System_IntPtr => _System_IntPtr ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_IntPtr);
61
public static TypeSyntax DllImportSearchPath => _DllImportSearchPath ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.DllImportSearchPath);
64
public static TypeSyntax System_Type => _System_Type ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Type);
67
public static TypeSyntax System_Runtime_InteropServices_Marshal => _System_Runtime_InteropServices_Marshal ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_Marshal);
70
public static TypeSyntax System_Runtime_InteropServices_UnmanagedType => _System_Runtime_InteropServices_UnmanagedType ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_UnmanagedType);
73
public static TypeSyntax System_Runtime_InteropServices_MemoryMarshal => _System_Runtime_InteropServices_MemoryMarshal ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_MemoryMarshal);
76
public static TypeSyntax System_Exception => _System_Exception ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Exception);
79
public static TypeSyntax System_GC => _System_GC ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_GC);
82
public static TypeSyntax System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch => _System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch);
85
public static TypeSyntax System_Runtime_CompilerServices_Unsafe => _System_Runtime_CompilerServices_Unsafe ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.System_Runtime_CompilerServices_Unsafe);
97
"Cdecl" => _CallConvCdecl ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvCdeclName),
98
"Fastcall" => _CallConvFastcall ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvFastcallName),
99
"MemberFunction" => _CallConvMemberFunction ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvMemberFunctionName),
100
"Stdcall" => _CallConvStdcall ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvStdcallName),
101
"SuppressGCTransition" => _CallConvSuppressGCTransition ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvSuppressGCTransitionName),
102
"Thiscall" => _CallConvThiscall ??= ParseTypeName(TypeNames.
GlobalAlias
+ TypeNames.CallConvThiscallName),
153
public const string System_Span =
GlobalAlias
+ "System.Span";
155
public const string System_ReadOnlySpan =
GlobalAlias
+ "System.ReadOnlySpan";