本文整理汇总了C#中ParserDiagnostic类的典型用法代码示例。如果您正苦于以下问题:C# ParserDiagnostic类的具体用法?C# ParserDiagnostic怎么用?C# ParserDiagnostic使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ParserDiagnostic类属于命名空间,在下文中一共展示了ParserDiagnostic类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ParserDiagnostic
private ParserDiagnostic(ParserDiagnostic.__Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
示例2: __CreateInstance
public static ParserDiagnostic __CreateInstance(ParserDiagnostic.__Internal native, bool skipVTables = false)
{
return new ParserDiagnostic(native, skipVTables);
}
示例3: __CopyValue
private static void* __CopyValue(ParserDiagnostic.__Internal native)
{
var ret = Marshal.AllocHGlobal(60);
global::CppSharp.Parser.ParserDiagnostic.__Internal.cctor_1(ret, new global::System.IntPtr(&native));
return ret.ToPointer();
}
示例4: ParserDiagnostic
private ParserDiagnostic(ParserDiagnostic.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
示例5: __CreateInstance
public static ParserDiagnostic __CreateInstance(ParserDiagnostic.Internal native)
{
return new ParserDiagnostic(native);
}
示例6: __CopyValue
private static ParserDiagnostic.Internal* __CopyValue(ParserDiagnostic.Internal native)
{
var ret = Marshal.AllocHGlobal(32);
CppSharp.Parser.ParserDiagnostic.Internal.cctor_1(ret, new global::System.IntPtr(&native));
return (ParserDiagnostic.Internal*) ret;
}
示例7: ParserDiagnostic
protected ParserDiagnostic(ParserDiagnostic.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
示例8: ParserDiagnostic
private ParserDiagnostic(ParserDiagnostic.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
}
示例9: ParserDiagnostic
internal ParserDiagnostic(ParserDiagnostic.Internal native)
: this(__CopyValue(native))
{
}
示例10: ParserDiagnostic
internal ParserDiagnostic(ParserDiagnostic.Internal native)
: this(&native)
{
}