-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mising global:: and add test case to avoid breaking in future. (#…
- Loading branch information
Showing
5 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#include "pch.h" | ||
#include "WinRT.Class.h" | ||
#include "WinRT.Class.g.cpp" | ||
|
||
namespace winrt::TestComponentCSharp::WinRT::implementation | ||
{ | ||
void Class::StaticMethod() | ||
{ | ||
} | ||
|
||
void Class::Method() | ||
{ | ||
} | ||
|
||
void Class::Method2(winrt::Windows::Foundation::IStringable const& stringable) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#pragma once | ||
#include "WinRT.Class.g.h" | ||
|
||
namespace winrt::TestComponentCSharp::WinRT::implementation | ||
{ | ||
struct Class : ClassT<Class> | ||
{ | ||
Class() = default; | ||
|
||
static void StaticMethod(); | ||
void Method(); | ||
void Method2(winrt::Windows::Foundation::IStringable const& stringable); | ||
}; | ||
} | ||
namespace winrt::TestComponentCSharp::WinRT::factory_implementation | ||
{ | ||
struct Class : ClassT<Class, implementation::Class> | ||
{ | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters