4 writes to IsErrorHandlingPosition
Microsoft.Interop.ComInterfaceGenerator (2)
VirtualMethodPointerStubGenerator.cs (2)
164IsErrorHandlingPosition = false, 184IsErrorHandlingPosition = true,
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSExportGenerator.cs (1)
169IsErrorHandlingPosition = true,
Microsoft.Interop.SourceGeneration (1)
SignatureContext.cs (1)
165IsErrorHandlingPosition = true,
15 references to IsErrorHandlingPosition
Microsoft.Interop.ComInterfaceGenerator (1)
VirtualMethodPointerStubGenerator.cs (1)
160if (unmanagedToManagedElement.IsErrorHandlingPosition)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSGeneratorFactory.cs (1)
20if (!info.IsErrorHandlingPosition && !info.IsManagedReturnPosition && (info.IsByRef || info.ByValueContentsMarshalKind != ByValueContentsMarshalKind.Default))
Microsoft.Interop.SourceGeneration (13)
BoundGenerators.cs (2)
34if (argType.IsErrorHandlingPosition) 193if (info.IsErrorHandlingPosition)
DefaultIdentifierContext.cs (3)
33IsErrorHandlingPosition: true, 50if (info.IsErrorHandlingPosition 75return info.IsErrorHandlingPosition
GeneratedStatements.cs (1)
58&& marshaller.TypeInfo.IsErrorHandlingPosition != errorHandlingOnly)
ManagedToNativeStubGenerator.cs (3)
43TypePositionInfo? errorHandlingInfo = argTypes.FirstOrDefault(static info => info.IsErrorHandlingPosition); 46: argTypes.FirstOrDefault(info => !info.IsErrorHandlingPosition && info.NativeIndex == errorHandlingInfo.NativeIndex); 76hasErrorHandler |= generator.TypeInfo.IsErrorHandlingPosition;
Marshalling\MarshallerHelpers.cs (1)
259if (info.IsErrorHandlingPosition)
VariableDeclarations.cs (3)
20if (info.RefKind == RefKind.Out && !info.IsErrorHandlingPosition) 40if (errorInfo is { IsErrorHandlingPosition: true, ManagedIndex: TypePositionInfo.ErrorIndex } 115if (boundaryBehavior != ValueBoundaryBehavior.ManagedIdentifier && !marshaller.TypeInfo.IsErrorHandlingPosition)