コード例 #1
0
 internal static bool ShouldEmitNativeIntegerAttributes(this CSharpCompilation compilation, TypeSymbol type)
 {
     return(compilation.ShouldEmitNativeIntegerAttributes() && type.ContainsNativeIntegerWrapperType());
 }
コード例 #2
0
 protected override bool TypeRequiresAttribute(TypeSymbol?type) => type?.ContainsNativeIntegerWrapperType() == true;