25 instantiations of new
Microsoft.Interop.JavaScript.JSImportGenerator (5)
JSGeneratorFactory.cs (4)
23
return ResolvedGenerator.NotSupported(info, context,
new
(info)
54
return new(ResolvedGenerator.NotSupported(info, context,
new
(info)), MarshalerType.None);
87
return new(ResolvedGenerator.NotSupported(info, context,
new
(info)), MarshalerType.None);
329
ResolvedGenerator.NotSupported(info, context,
new
(info)
NoSpanAndTaskMixingResolver.cs (1)
33
new GeneratorDiagnostic.
NotSupported
(info)
Microsoft.Interop.SourceGeneration (20)
BoundGenerators.cs (2)
113
generatorDiagnostics.Add(new GeneratorDiagnostic.
NotSupported
(errorHandlingInfo));
281
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)
425
return
new
(info)
435
return
new
(info)
445
return
new
(info)
Marshalling\BlittableMarshallerResolver.cs (1)
34
context, new GeneratorDiagnostic.
NotSupported
(info)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (2)
22
new GeneratorDiagnostic.
NotSupported
(info)
69
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 (2)
62
return ResolvedGenerator.NotSupported(info, context,
new
(info));
90
return ResolvedGenerator.NotSupported(info, context,
new
(info) { NotSupportedDetails = SR.GenericDelegatesNotSupported });
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)