7 references to SetLastError
ILAssembler (1)
GrammarVisitor.cs (1)
4475return new(MethodImportAttributes.SetLastError);
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
510Debug.Assert((int)MethodImportAttributes.SetLastError == (int)PInvokeAttributes.SetLastError);
Microsoft.CodeAnalysis (2)
Symbols\PlatformInvokeInformation.cs (2)
93return (_flags & MethodImportAttributes.SetLastError) != 0; 195result |= MethodImportAttributes.SetLastError;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceMethodSymbol.vb (1)
299Return result Or MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.SetLastError
System.Reflection.Emit (1)
System\Reflection\Emit\PseudoCustomAttributesData.cs (1)
67importAttributes |= MethodImportAttributes.SetLastError;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
147SetLastError = (a & MethodImportAttributes.SetLastError) != 0,