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