File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
csharp/ql/test/library-tests Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -847,7 +847,7 @@ RequiredMembers.cs:
847847# 40| 0: [Parameter] value
848848Scoped.cs:
849849# 1| [Struct] S1
850- # 2| [Struct ] S2
850+ # 2| [RefStruct ] S2
851851# 7| [Class] ScopedModifierTest
852852# 9| 5: [Method] M1
853853# 9| -1: [TypeMention] int
@@ -1402,7 +1402,7 @@ Strings.cs:
14021402Struct.cs:
14031403# 1| [NamespaceDeclaration] namespace ... { ... }
14041404# 3| 1: [Class] MyEmptyClass
1405- # 5| 2: [Struct ] RefStruct
1405+ # 5| 2: [RefStruct ] RefStruct
14061406# 7| 5: [Field] MyInt
14071407# 7| -1: [TypeMention] int
14081408# 8| 6: [Field] MyByte
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ csharp72.cs:
3030# 26| 0: [FieldAccess] access to field s
3131# 29| 7: [DelegateType] Del
3232# 32| [Struct] ReadonlyStruct
33- # 36| [Struct ] RefStruct
34- # 40| [Struct ] ReadonlyRefStruct
33+ # 36| [RefStruct ] RefStruct
34+ # 40| [RefStruct ] ReadonlyRefStruct
3535# 44| [Class] NumericLiterals
3636# 46| 5: [Field] binaryValue
3737# 46| -1: [TypeMention] int
Original file line number Diff line number Diff line change 11import csharp
22
3- from Struct s
4- where
5- s .fromSource ( ) and
6- s .isRef ( )
3+ from RefStruct s
4+ where s .fromSource ( )
75select s
You can’t perform that action at this time.
0 commit comments