6 references to Length
Microsoft.Interop.ComInterfaceGenerator (4)
ComClassGenerator.cs (3)
64
writer.WriteLine($"count = {implementedInterfaces.
Length
};");
68
writer.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
});");
71
for (int i = 0; i < implementedInterfaces.
Length
; i++)
ComInterfaceAndMethodsContext.cs (1)
33
public 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
309
var isReturn = managedType == KnownManagedType.Function && i == argJSTypes.
Length
- 1;