20 references to ERR_FixedBufferNotFixed
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
7483Error(diagnostics, isFixedStatementExpression ? ErrorCode.ERR_FixedNotNeeded : ErrorCode.ERR_FixedBufferNotFixed, node);
Errors\ErrorFacts.cs (1)
1263case ErrorCode.ERR_FixedBufferNotFixed:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\FixedSizeBufferTests.cs (4)
668Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "(new S()).G").WithLocation(6, 18), 674Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "G").WithLocation(4, 17) 695Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "default(S).G").WithLocation(5, 17), 701Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "F").WithLocation(4, 17)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\NameOfTests.cs (1)
1236Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "MessageType").WithLocation(14, 19),
Semantics\PrimaryConstructorTests.cs (8)
11887Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s.Buf").WithLocation(12, 26), 11890Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(13, 26), 11893Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s.Buf").WithLocation(14, 19), 11896Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(15, 19) 11921Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s.Buf").WithLocation(12, 18), 11924Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(13, 18) 11975Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s.Buf").WithLocation(12, 18), 11978Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(13, 18)
Semantics\UnsafeTests.cs (4)
9720Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(13, 26), 9726Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(15, 19)); 9754Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(15, 18)); 9777Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "s_f.Buf").WithLocation(13, 18));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\SymbolErrorTests.cs (1)
15616Diagnostic(ErrorCode.ERR_FixedBufferNotFixed, "this._e_res"));