3 instantiations of MarshalAsScalarInfo
Microsoft.Interop.SourceGeneration (3)
MarshalAsParser.cs (1)
193return new MarshalAsScalarInfo(unmanagedType, _defaultInfo.CharEncoding);
MarshalAsWithCustomMarshallersParser.cs (2)
64elementMarshallingInfo = CreateStringMarshallingInfo(elementType, new MarshalAsScalarInfo(arrayInfo.ArraySubType, arrayInfo.CharEncoding)); 72elementMarshallingInfo = new MarshalAsScalarInfo(arrayInfo.ArraySubType, arrayInfo.CharEncoding);
1 reference to MarshalAsScalarInfo
Microsoft.Interop.SourceGeneration (1)
MarshalAsWithCustomMarshallersParser.cs (1)
88if (type.SpecialType == SpecialType.System_Object && marshalAsInfo is MarshalAsScalarInfo(UnmanagedType.Struct, _))