19 references to ERR_FixedNotInStruct
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1305or ErrorCode.ERR_FixedNotInStruct
Symbols\Source\SourceMemberFieldSymbol.cs (1)
576diagnostics.Add(ErrorCode.ERR_FixedNotInStruct, ErrorLocation);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\FixedSizeBufferTests.cs (2)
643Diagnostic(ErrorCode.ERR_FixedNotInStruct, "G"), 646Diagnostic(ErrorCode.ERR_FixedNotInStruct, "F"),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Semantics\OutVarTests.cs (4)
32020Diagnostic(ErrorCode.ERR_FixedNotInStruct, "b").WithLocation(3, 18), 32026Diagnostic(ErrorCode.ERR_FixedNotInStruct, "a").WithLocation(3, 12), 32051Diagnostic(ErrorCode.ERR_FixedNotInStruct, "b").WithLocation(3, 18), 32057Diagnostic(ErrorCode.ERR_FixedNotInStruct, "a").WithLocation(3, 12),
Semantics\PatternMatchingTests_Global.cs (4)
6183Diagnostic(ErrorCode.ERR_FixedNotInStruct, "b").WithLocation(3, 18), 6189Diagnostic(ErrorCode.ERR_FixedNotInStruct, "a").WithLocation(3, 12), 6215Diagnostic(ErrorCode.ERR_FixedNotInStruct, "b").WithLocation(3, 18), 6218Diagnostic(ErrorCode.ERR_FixedNotInStruct, "a").WithLocation(3, 12),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\ScriptSemanticsTests.cs (2)
1140Diagnostic(ErrorCode.ERR_FixedNotInStruct, "x").WithLocation(1, 11), 1163Diagnostic(ErrorCode.ERR_FixedNotInStruct, "x").WithLocation(1, 11),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\GenericConstraintTests.cs (1)
1014Diagnostic(ErrorCode.ERR_FixedNotInStruct, "F").WithLocation(4, 15),
Symbols\SymbolErrorTests.cs (3)
15525Diagnostic(ErrorCode.ERR_FixedNotInStruct, "a")); 15638Diagnostic(ErrorCode.ERR_FixedNotInStruct, "_bufferInner")); 15656Diagnostic(ErrorCode.ERR_FixedNotInStruct, "_bufferOuter"));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\ExtensionsParsingTests.cs (1)
2225Diagnostic(ErrorCode.ERR_FixedNotInStruct, "field").WithLocation(5, 19),