9 references to WRN_ByRefNonAgileField
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
320case ErrorCode.WRN_ByRefNonAgileField: 715case ErrorCode.WRN_ByRefNonAgileField:
Generated\ErrorFacts.Generated.cs (1)
22case ErrorCode.WRN_ByRefNonAgileField:
Lowering\DiagnosticsPass_Warnings.cs (1)
68Error(ErrorCode.WRN_ByRefNonAgileField, fieldAccess, fieldSymbol);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\SemanticErrorTests.cs (5)
19253Diagnostic(ErrorCode.WRN_ByRefNonAgileField, "x.i").WithArguments("X.i")); 19302Diagnostic(ErrorCode.WRN_ByRefNonAgileField, "b.Instance").WithArguments("ByRef.Instance"), 19305Diagnostic(ErrorCode.WRN_ByRefNonAgileField, "b.Instance").WithArguments("ByRef.Instance")); 19347Diagnostic(ErrorCode.WRN_ByRefNonAgileField, "((ByRef)this).F").WithArguments("ByRef.F"), 19350Diagnostic(ErrorCode.WRN_ByRefNonAgileField, "((ByRef)this).F").WithArguments("ByRef.F"));