24 instantiations of new
Microsoft.Interop.JavaScript.JSImportGenerator (6)
JSExportCodeGenerator.cs (1)
59
diagnosticsBag.ReportGeneratorDiagnostic(new GeneratorDiagnostic.
NotSupported
(spanArg.TypeInfo)
JSGeneratorFactory.cs (4)
22
return ResolvedGenerator.NotSupported(info, context,
new
(info)
31
return ResolvedGenerator.NotSupported(info, context,
new
(info)
42
return ResolvedGenerator.NotSupported(info, context,
new
(info));
92
return ResolvedGenerator.NotSupported(info, context,
new
(info));
JSImportCodeGenerator.cs (1)
66
diagnosticsBag.ReportGeneratorDiagnostic(new GeneratorDiagnostic.
NotSupported
(spanArg.TypeInfo)
Microsoft.Interop.SourceGeneration (18)
BoundGenerators.cs (1)
215
return ResolvedGenerator.NotSupported(info, context,
new
(info)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (7)
74
_ => new GeneratorDiagnostic.
NotSupported
(info)
96
return new GeneratorDiagnostic.
NotSupported
(info)
105
return new GeneratorDiagnostic.
NotSupported
(info)
154
return ResolvedGenerator.NotSupported(info, context,
new
(info)
424
return
new
(info)
434
return
new
(info)
444
return
new
(info)
Marshalling\BlittableMarshallerResolver.cs (1)
34
context, new GeneratorDiagnostic.
NotSupported
(info)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (2)
31
new GeneratorDiagnostic.
NotSupported
(info)
78
diagnostic = new GeneratorDiagnostic.
NotSupported
(info)
Marshalling\CharMarshallingGeneratorResolver.cs (4)
40
return ResolvedGenerator.NotSupported(info, context,
new
(info)
63
return ResolvedGenerator.NotSupported(info, context,
new
(info) // [Compat] UTF-8 is not supported for char
68
return ResolvedGenerator.NotSupported(info, context,
new
(info)
75
return ResolvedGenerator.NotSupported(info, context,
new
(info));
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
62
return ResolvedGenerator.NotSupported(info, context,
new
(info));
Marshalling\NoMarshallingInfoErrorResolver.cs (1)
20
return ResolvedGenerator.NotSupported(info, context,
new
(info)
Marshalling\NotSupportedResolver.cs (1)
9
ResolvedGenerator.NotSupported(info, context,
new
(info));
22 references to new
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 (8)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (7)
53
private record struct ExpressionOrNotSupported(ExpressionSyntax? Expression, GeneratorDiagnostic.
NotSupported
? NotSupported)
59
public ExpressionOrNotSupported(GeneratorDiagnostic.
NotSupported
notSupportedDiagnostic)
65
private GeneratorDiagnostic.
NotSupported
? ValidateCountInfo(TypePositionInfo info, CountInfo count, StubCodeContext context, out bool countInfoRequiresCast)
80
GeneratorDiagnostic.
NotSupported
? ValidateNumElementsExpression(TypePositionInfo paramInfo, out bool requiresCast)
146
if (ValidateCustomNativeTypeMarshallingSupported(info, context, marshalInfo) is GeneratorDiagnostic.
NotSupported
diagnostic)
234
GeneratorDiagnostic.
NotSupported
? countInfoDiagnostic = ValidateCountInfo(info, countInfo, context, out countInfoRequiresCast);
417
private GeneratorDiagnostic.
NotSupported
? ValidateCustomNativeTypeMarshallingSupported(TypePositionInfo info, StubCodeContext context, NativeMarshallingAttributeInfo marshalInfo)
Marshalling\ResolvedGenerator.cs (1)
25
public static ResolvedGenerator NotSupported(TypePositionInfo info, StubCodeContext context, GeneratorDiagnostic.
NotSupported
notSupportedDiagnostic)