19 writes to NotSupportedDetails
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportCodeGenerator.cs (1)
61
NotSupportedDetails
= SR.SpanAndTaskNotSupported
JSGeneratorFactory.cs (2)
24
NotSupportedDetails
= SR.InOutRefNotSupported
33
NotSupportedDetails
= failReason
JSImportCodeGenerator.cs (1)
68
NotSupportedDetails
= SR.SpanAndTaskNotSupported
Microsoft.Interop.SourceGeneration (15)
BoundGenerators.cs (1)
217
NotSupportedDetails
= SR.MarshallerInNativeReturnPositionMustMatchNativeReturnType
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (7)
76
NotSupportedDetails
= SR.ArraySizeMustBeSpecified
98
NotSupportedDetails
= SR.CollectionSizeParamTypeMustBeIntegral
107
NotSupportedDetails
= SR.CollectionSizeParamTypeMustBeIntegral
156
NotSupportedDetails
= SR.RuntimeMarshallingMustBeDisabled,
426
NotSupportedDetails
= SR.Format(SR.UnmanagedToManagedMissingRequiredMarshaller, marshalInfo.EntryPointType.FullTypeName)
436
NotSupportedDetails
= SR.Format(SR.BidirectionalMissingRequiredMarshaller, marshalInfo.EntryPointType.FullTypeName)
446
NotSupportedDetails
= SR.Format(SR.ManagedToUnmanagedMissingRequiredMarshaller, marshalInfo.EntryPointType.FullTypeName)
Marshalling\BlittableMarshallerResolver.cs (1)
36
NotSupportedDetails
= SR.RuntimeMarshallingMustBeDisabled,
Marshalling\ByValueMarshalKindSupportDescriptor.cs (2)
33
NotSupportedDetails
= details
80
NotSupportedDetails
= SR.InOutAttributeByRefNotSupported
Marshalling\CharMarshallingGeneratorResolver.cs (3)
42
NotSupportedDetails
= string.Format(SR.MarshallingStringOrCharAsUndefinedNotSupported, _stringMarshallingAttribute)
65
NotSupportedDetails
= SR.Format(SR.MarshallingCharAsSpecifiedStringMarshallingNotSupported, nameof(CharEncoding.Utf8))
70
NotSupportedDetails
= SR.MarshallingCharAsStringMarshallingCustomNotSupported
Marshalling\NoMarshallingInfoErrorResolver.cs (1)
22
NotSupportedDetails
= errorMessage
16 references to NotSupportedDetails
Microsoft.Interop.ComInterfaceGenerator (4)
DiagnosticDescriptorProvider.cs (4)
23
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: null, TypePositionInfo: { IsManagedReturnPosition: true, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsReturnConfigurationNotSupported,
24
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: null, TypePositionInfo: { IsManagedReturnPosition: false, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsParameterConfigurationNotSupported,
25
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails,
26
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.JavaScript.JSImportGenerator (2)
DescriptorProvider.cs (2)
20
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails,
21
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.LibraryImportGenerator (4)
DiagnosticDescriptorProvider.cs (4)
21
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: null, TypePositionInfo: { IsManagedReturnPosition: true, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsReturnConfigurationNotSupported,
22
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: null, TypePositionInfo: { IsManagedReturnPosition: false, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsParameterConfigurationNotSupported,
23
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails,
24
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.LibraryImportGenerator.Downlevel (4)
DiagnosticDescriptorProvider.cs (4)
21
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: null, TypePositionInfo: { IsManagedReturnPosition: true, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsReturnConfigurationNotSupported,
22
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: null, TypePositionInfo: { IsManagedReturnPosition: false, MarshallingAttributeInfo: MarshalAsInfo } } => GeneratorDiagnostics.MarshalAsParameterConfigurationNotSupported,
23
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: true } => GeneratorDiagnostics.ReturnTypeNotSupportedWithDetails,
24
GeneratorDiagnostic.NotSupported {
NotSupportedDetails
: not null, TypePositionInfo.IsManagedReturnPosition: false } => GeneratorDiagnostics.ParameterTypeNotSupportedWithDetails,
Microsoft.Interop.SourceGeneration (2)
Marshalling\GeneratorDiagnostic.cs (2)
37
if (
NotSupportedDetails
is not null)
39
return DiagnosticInfo.Create(descriptor, location, DiagnosticProperties,
NotSupportedDetails
, elementName);