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:
847
847
# 40| 0: [Parameter] value
848
848
Scoped.cs:
849
849
# 1| [Struct] S1
850
- # 2| [Struct ] S2
850
+ # 2| [RefStruct ] S2
851
851
# 7| [Class] ScopedModifierTest
852
852
# 9| 5: [Method] M1
853
853
# 9| -1: [TypeMention] int
@@ -1402,7 +1402,7 @@ Strings.cs:
1402
1402
Struct.cs:
1403
1403
# 1| [NamespaceDeclaration] namespace ... { ... }
1404
1404
# 3| 1: [Class] MyEmptyClass
1405
- # 5| 2: [Struct ] RefStruct
1405
+ # 5| 2: [RefStruct ] RefStruct
1406
1406
# 7| 5: [Field] MyInt
1407
1407
# 7| -1: [TypeMention] int
1408
1408
# 8| 6: [Field] MyByte
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ csharp72.cs:
30
30
# 26| 0: [FieldAccess] access to field s
31
31
# 29| 7: [DelegateType] Del
32
32
# 32| [Struct] ReadonlyStruct
33
- # 36| [Struct ] RefStruct
34
- # 40| [Struct ] ReadonlyRefStruct
33
+ # 36| [RefStruct ] RefStruct
34
+ # 40| [RefStruct ] ReadonlyRefStruct
35
35
# 44| [Class] NumericLiterals
36
36
# 46| 5: [Field] binaryValue
37
37
# 46| -1: [TypeMention] int
Original file line number Diff line number Diff line change 1
1
import csharp
2
2
3
- from Struct s
4
- where
5
- s .fromSource ( ) and
6
- s .isRef ( )
3
+ from RefStruct s
4
+ where s .fromSource ( )
7
5
select s
You can’t perform that action at this time.
0 commit comments