6 references to Length
Microsoft.Interop.ComInterfaceGenerator (4)
ComClassGenerator.cs (3)
64writer.WriteLine($"count = {implementedInterfaces.Length};"); 68writer.WriteLine($"global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry* vtables = (global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry*)global::System.Runtime.CompilerServices.RuntimeHelpers.AllocateTypeAssociatedMemory(typeof({ClassInfoTypeName}), sizeof(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry) * {implementedInterfaces.Length});"); 71for (int i = 0; i < implementedInterfaces.Length; i++)
ComInterfaceAndMethodsContext.cs (1)
33public int VTableSize => Methods.Length == 0
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSGeneratorFactory.cs (2)
266(KnownManagedType.Function or KnownManagedType.Action, JSTypeFlags.Function, var argTypes, { } argJSTypes) when argTypes.Length != argJSTypes.Length 309var isReturn = managedType == KnownManagedType.Function && i == argJSTypes.Length - 1;