You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(simpleNameis"PWSTR" or "PSTR"&&(this.IsConstantField||customAttributes?.Any(ah =>MetadataUtilities.IsAttribute(this.reader,this.reader.GetCustomAttribute(ah),Generator.InteropDecorationNamespace,"ConstAttribute"))istrue))
if(fieldDef.DecodeSignature(SignatureHandleProvider.Instance,null)isPrimitiveTypeHandleInfo{PrimitiveTypeCode:PrimitiveTypeCode.IntPtr or PrimitiveTypeCode.UIntPtr})
if(fieldDef.DecodeSignature(SignatureHandleProvider.Instance,null)isPrimitiveTypeHandleInfo{PrimitiveTypeCode:PrimitiveTypeCode.IntPtr or PrimitiveTypeCode.UIntPtr})
if(elementTypeDetails.TypeisPredefinedTypeSyntax{Keyword:{RawKind:(int)SyntaxKind.ObjectKeyword}}&&inputs.Generatoris not null&&inputs.Generator.Options.ComInterop.UseIntPtrForComOutPointers)
40
40
{
41
-
boolisComOutPtr=inputs.Generator?.Readeris not null&&customAttributesis not null&&customAttributes.Value.Any(ah =>inputs.Generator.IsAttribute(inputs.Generator.Reader.GetCustomAttribute(ah),Generator.InteropDecorationNamespace,"ComOutPtrAttribute"));
0 commit comments