(Type type)
| 580 | } |
| 581 | |
| 582 | public static string ToWinRTType(Type type) |
| 583 | { |
| 584 | var CSharpType = TypeToString(type); |
| 585 | var typeName = CSharpType |
| 586 | .Replace(".", "::") |
| 587 | .Replace("System::", "Platform::"); |
| 588 | string refType = (type.IsValueType && !RefTypesInCppValueInCS.Contains(GetTypeFullName(type))) ? null : "^"; |
| 589 | |
| 590 | typeName += refType; |
| 591 | |
| 592 | return typeName.Replace("&^", "^&"); |
| 593 | } |
| 594 | |
| 595 | // We are interseted in methods which return type IAsyncOperation/IAsyncAction |
| 596 | public static bool IsAsync(MethodInfo info) |
nothing calls this directly
no outgoing calls
no test coverage detected