11 references to ReportInvalidMarshallingAttributeInfo
Microsoft.Interop.SourceGeneration (11)
CustomMarshallingInfoHelper.cs (6)
32
diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.MarshallerTypeMustBeStaticClassOrStruct), entryPointType.ToDisplayString(), type.ToDisplayString());
50
diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.MarshallerEntryPointTypeMustMatchArity), entryPointType.ToDisplayString(), type.ToDisplayString());
64
(type, entryPointType) => diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.MarshallerEntryPointTypeMustMatchArity), entryPointType.ToDisplayString(), type.ToDisplayString()),
74
diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.MarshallerEntryPointTypeMustMatchArity), entryPointType.ToDisplayString(), type.ToDisplayString());
96
(type, entryPointType) => diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.MarshallerEntryPointTypeMustMatchArity), entryPointType.ToDisplayString(), type.ToDisplayString()),
148
diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.MarshallerTypeMustBeStaticClassOrStruct), entryPointType.ToDisplayString(), type.ToDisplayString());
MarshallingInfoParser.cs (2)
314
_diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.CyclicalCountInfo), elementName);
343
_diagnostics.
ReportInvalidMarshallingAttributeInfo
(attrData, nameof(SR.CyclicalCountInfo), paramName);
MarshalUsingAttributeParser.cs (1)
95
_diagnostics.
ReportInvalidMarshallingAttributeInfo
(attributeData, nameof(SR.ConstantAndElementCountInfoDisallowed));
UseSiteAttributeProvider.cs (2)
46
diagnostics.
ReportInvalidMarshallingAttributeInfo
(attribute, nameof(SR.DuplicateMarshallingInfo), indirectionDepth.ToString());
93
_diagnostics.
ReportInvalidMarshallingAttributeInfo
(