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
Stacktrace: | |
at <unknown> <0xffffffff> | |
at (wrapper managed-to-native) object.__icall_wrapper_mono_object_isinst (object,intptr) <IL 0x00008, 0x0005f> | |
at (wrapper stelemref) object.virt_stelemref_class (intptr,object) <IL 0x00023, 0x00062> | |
at System.Collections.Immutable.ImmutableArray`1/Builder<T_REF>.ToArray () <IL 0x00020, 0x0008b> | |
at System.Collections.Immutable.ImmutableArray`1/Builder<T_REF>.ToImmutable () <IL 0x0000f, 0x0007f> | |
at Microsoft.CodeAnalysis.ArrayBuilder`1<T_REF>.ToImmutable () <IL 0x00006, 0x00022> | |
at Microsoft.CodeAnalysis.ArrayBuilder`1<T_REF>.ToImmutableAndFree () <IL 0x00001, 0x00015> | |
at Microsoft.CodeAnalysis.CommonReferenceManager`2<TCompilation_REF, TAssemblySymbol_REF>.ResolveMetadataReferences (TCompilation_REF,System.Collections.Generic.Dictionary`2<string, System.Collections.Generic.List`1<Microsoft.CodeAnalysis.CommonReferenceManager`2/ReferencedAssemblyIdentity<TCompilation_REF, TAssemblySymbol_REF>>>,System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAn |
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
static NSArray* devices; | |
void startMT(){ | |
devices = CFBridgingRelease(MTDeviceCreateList()); | |
for(int i = 0; i < devices.count; i++) | |
{ | |
MTDeviceRef device = (__bridge MTDeviceRef)devices[i]; | |
MTRegisterContactFrameCallback(device, mtcallback); | |
MTDeviceStart(device, 0); | |
} |