10 references to SetLastError
Microsoft.CodeAnalysis (2)
Symbols\PlatformInvokeInformation.cs (2)
93
return (_flags & MethodImportAttributes.
SetLastError
) != 0;
195
result |= MethodImportAttributes.
SetLastError
;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Attributes\AttributeTests_WellKnownAttributes.cs (5)
2711
MethodImportAttributes.
SetLastError
|
2738
MethodImportAttributes.
SetLastError
|
2886
new { attr = MakeDllImport(setLastError: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.
SetLastError
}, // M21
2899
expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.
SetLastError
}, // M25
2903
expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.
SetLastError
}, // M26
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceMethodSymbol.vb (1)
299
Return result Or MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.
SetLastError
System.Reflection.Emit (1)
System\Reflection\Emit\PseudoCustomAttributesData.cs (1)
67
importAttributes |= MethodImportAttributes.
SetLastError
;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
147
SetLastError = (a & MethodImportAttributes.
SetLastError
) != 0,