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)
110
generatorDiagnostics.Add(new GeneratorDiagnostic.
NotSupported
(errorHandlingInfo));
276
return ResolvedGenerator.NotSupported(info, context,
new
(info)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (7)
59
_ => new GeneratorDiagnostic.
NotSupported
(info)
81
return new GeneratorDiagnostic.
NotSupported
(info)
90
return new GeneratorDiagnostic.
NotSupported
(info)
139
return ResolvedGenerator.NotSupported(info, context,
new
(info)
385
return
new
(info)
395
return
new
(info)
405
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));
20 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 (6)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (5)
50
private GeneratorDiagnostic.
NotSupported
? ValidateCountInfo(TypePositionInfo info, CountInfo count, StubCodeContext context, out bool countInfoRequiresCast)
65
GeneratorDiagnostic.
NotSupported
? ValidateNumElementsExpression(TypePositionInfo paramInfo, out bool requiresCast)
131
if (ValidateCustomNativeTypeMarshallingSupported(info, context, marshalInfo) is GeneratorDiagnostic.
NotSupported
diagnostic)
219
GeneratorDiagnostic.
NotSupported
? countInfoDiagnostic = ValidateCountInfo(info, countInfo, context, out countInfoRequiresCast);
377
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)