internal static bool ShouldEmitNativeIntegerAttributes(this CSharpCompilation compilation, TypeSymbol type) { return(compilation.ShouldEmitNativeIntegerAttributes() && type.ContainsNativeIntegerWrapperType()); }
protected override bool TypeRequiresAttribute(TypeSymbol?type) => type?.ContainsNativeIntegerWrapperType() == true;