10 references to ERR_BadAccess
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Expressions.cs (1)
7184
diagnostics.Add(ErrorCode.
ERR_BadAccess
, errorLocation, result.ValidResult.Member);
Binder\Binder_Lookup.cs (2)
1442
diagInfo = diagnose ? new CSDiagnosticInfo(ErrorCode.
ERR_BadAccess
, new[] { unwrappedSymbol }, unwrappedSymbols, additionalLocations: ImmutableArray<Location>.Empty) : null;
1466
diagInfo = new CSDiagnosticInfo(ErrorCode.
ERR_BadAccess
, new[] { unwrappedSymbol }, ImmutableArray.Create<Symbol>(unwrappedSymbol), additionalLocations: ImmutableArray<Location>.Empty);
Binder\Binder_Operators.cs (1)
305
Error(diagnostics, ErrorCode.
ERR_BadAccess
, node, method);
Binder\Binder_Statements.cs (1)
3945
diagnostics.Add(ErrorCode.
ERR_BadAccess
, diagnosticsLocation, baseConstructor);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
633
ErrorCode.
ERR_BadAccess
,
CommandLine\CSharpCompiler.cs (1)
388
{ Code: (int)ErrorCode.
ERR_BadAccess
, Arguments: [Symbol s] } => s,
Errors\ErrorFacts.cs (1)
710
or ErrorCode.
ERR_BadAccess
Symbols\Source\ExplicitInterfaceHelpers.cs (2)
310
diagnostics.Add(ErrorCode.
ERR_BadAccess
, memberLocation, implementedMember);
334
diagnostics.Add(ErrorCode.
ERR_BadAccess
, memberLocation, accessor);