Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public override DeclaredElementType GetElementType() =>

public override IType ReturnType => PredefinedType.Void;

public override AccessRights GetAccessRights() =>
ContainingType.GetRepresentationAccessRights();

public bool IsDefault => false;
public bool IsParameterless => false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
{
public Class1()
{
var r = new Module.R(1);
var field = r.|Field|(0);
var r = new Module.|R|(0)(1);
var field = r.|Field|(1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would also be cool to replace var with R to see if there are any errors reported on the type name.

}
}

---------------------------------------------------------
(0): ReSharper Underlined Error Highlighting: Cannot access internal property 'Field' here
(0): ReSharper Underlined Error Highlighting: Cannot access internal constructor 'R(int)' here
(1): ReSharper Underlined Error Highlighting: Cannot access internal property 'Field' here
M:Module.R.#ctor(System.Int32)
P:Module.R.Field
Loading