Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup contents out #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace ComInterfaceGenerator.Tests
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
partial class DerivedComObject
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand Down Expand Up @@ -26,8 +26,8 @@

return s_vtables;
}
}

}
namespace ComInterfaceGenerator.Tests
{
public unsafe partial class IDerivedTests
Expand All @@ -37,4 +37,4 @@ partial class DerivedImpl
{
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace ComInterfaceGenerator.Tests
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
partial class ManagedObjectExposedToCom
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,8 +20,8 @@

return s_vtables;
}
}

}
namespace ComInterfaceGenerator.Tests
{
public unsafe partial class StringMarshallingTests
Expand All @@ -31,4 +31,4 @@ internal partial class CustomUtf16MarshalledClass
{
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,8 +20,8 @@

return s_vtables;
}
}

}
namespace ComInterfaceGenerator.Tests
{
public unsafe partial class StringMarshallingTests
Expand All @@ -31,4 +31,4 @@ internal partial class Utf16MarshalledClass
{
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,8 +20,8 @@

return s_vtables;
}
}

}
namespace ComInterfaceGenerator.Tests
{
public unsafe partial class StringMarshallingTests
Expand All @@ -31,4 +31,4 @@ internal partial class Utf8MarshalledClass
{
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class ArrayOfStatelessElements
{
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
public static System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* GetComInterfaceEntries(out int count)
{
count = 1;
if (s_vtables == null)
{
System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* vtables = (System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry*)System.Runtime.CompilerServices.RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(ComClassInformation), sizeof(System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry) * 1);
System.Runtime.InteropServices.Marshalling.IIUnknownDerivedDetails details;
details = System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(SharedTypes.ComInterfaces.IArrayOfStatelessElements).TypeHandle);
vtables[0] = new()
{
IID = details.Iid,
Vtable = (nint)details.ManagedVirtualMethodTable
};
s_vtables = vtables;
}

return s_vtables;
}
}

namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class ArrayOfStatelessElementsThrows
{
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand Down Expand Up @@ -26,12 +26,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class Derived
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class GetAndSetInt
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class IBoolImpl
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class IFloatImpl
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class IIntArrayImpl
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class IIntImpl
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class IInterfaceImpl
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class IJaggedIntArrayImpl
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
file sealed unsafe class ComClassInformation : System.Runtime.InteropServices.Marshalling.IComExposedClass
{
private static volatile System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* s_vtables;
Expand All @@ -20,12 +20,12 @@

return s_vtables;
}
}

}
namespace SharedTypes.ComInterfaces.MarshallingFails
{
[System.Runtime.InteropServices.Marshalling.ComExposedClassAttribute<ComClassInformation>]
internal partial class ICollectionMarshallingFailsImpl
{
}
}
}
Loading